refresh mit cooldown

This commit is contained in:
Tristan Krause 2019-04-05 13:29:14 +02:00
parent 167e0a3ce8
commit 24688ff183
5 changed files with 33 additions and 6 deletions

View file

@ -58,9 +58,8 @@ std::function<void(int)> ViewPromt::keypress(int& key)
if(input.length())
input.pop_back();
break;
case '\t':
case KEY_LEFT:
selection = (selection + 1 ) % 2;
break;
case KEY_RIGHT:
selection = (selection + 1 ) % 2;
break;