Don't react to escape character in tincctl top.
Not only the ESC key generates an escape character, but many other keys do as well, such as arrow keys.
This commit is contained in:
parent
27e6a89b15
commit
8c953b1bfe
3 changed files with 2 additions and 3 deletions
|
@ -305,7 +305,6 @@ void top(int fd) {
|
|||
scale = 1e-9;
|
||||
break;
|
||||
case 'q':
|
||||
case 27:
|
||||
case KEY_BREAK:
|
||||
running = false;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue