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
|
// Main Screen key handling
|
||||||
if event.Key == termbox.KeyEsc {
|
if event.Key == termbox.KeyEsc {
|
||||||
return exitScreenIndex
|
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' {
|
} else if event.Ch == 'r' {
|
||||||
// Refresh data
|
// Refresh data
|
||||||
screen.refreshData()
|
screen.refreshData()
|
||||||
|
Loading…
Reference in New Issue
Block a user