Working on termbox-util package
This commit is contained in:
parent
591ed24b34
commit
acb15af685
@ -43,14 +43,6 @@ func (screen *mainScreen) handleKeyPress(event termbox.Event) int {
|
||||
// Main Screen key handling
|
||||
if event.Key == termbox.KeyEsc {
|
||||
return exitScreenIndex
|
||||
/*
|
||||
} else if event.Ch == 'R' {
|
||||
state.autoUpdate = true
|
||||
} else if event.Ch == '+' {
|
||||
screen.decreaseUpdateFreq()
|
||||
} else if event.Ch == '-' {
|
||||
screen.increaseUpdateFreq()
|
||||
*/
|
||||
} else if event.Ch == 'r' {
|
||||
// Refresh data
|
||||
screen.refreshData()
|
||||
|
Loading…
Reference in New Issue
Block a user