cleaning up

This commit is contained in:
Jesse Duffield
2022-01-30 11:22:47 +11:00
parent e187293456
commit 09dc160da9
8 changed files with 34 additions and 54 deletions

View File

@@ -62,21 +62,19 @@ type IController interface {
type IListContext interface {
HasKeybindings
GetSelectedItem() (ListItem, bool)
GetSelectedItemId() string
HandlePrevLine() error
HandleNextLine() error
HandleScrollLeft() error
HandleScrollRight() error
HandlePrevPage() error
HandleNextPage() error
HandleGotoTop() error
HandleGotoBottom() error
HandlePrevPage() error
HandleClick(onClick func() error) error
OnSearchSelect(selectedLineIdx int) error
FocusLine()
HandleRenderToMain() error
GetPanelState() IListPanelState