Working on termbox-util package

This commit is contained in:
Brian Buller 2016-01-10 20:41:53 -06:00
parent 591ed24b34
commit acb15af685

View File

@ -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()