Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cmd/cloudstic/cmd_tui_input.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ const (
tuiActionDown
tuiActionRun
tuiActionCheck
tuiActionCreate
tuiActionEdit
tuiActionDelete
tuiActionQuit
)

Expand Down Expand Up @@ -81,6 +84,12 @@ func readTUIAction(r io.ByteReader) (tuiAction, error) {
return tuiActionRun, nil
case 'c', 'C':
return tuiActionCheck, nil
case 'n', 'N':
return tuiActionCreate, nil
case 'e', 'E':
return tuiActionEdit, nil
case 'd', 'D':
return tuiActionDelete, nil
case 0x1b:
next, err := r.ReadByte()
if err != nil {
Expand Down
Loading
Loading