diff --git a/doc/tinc.texi b/doc/tinc.texi index daf807b8..15704a1f 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -2026,7 +2026,7 @@ Show amount of traffic in megabytes. @item G Show amount of traffic in gigabytes. -@item q, ESC +@item q Quit. @end table diff --git a/doc/tincctl.8.in b/doc/tincctl.8.in index 6b550ae8..ef0584e1 100644 --- a/doc/tincctl.8.in +++ b/doc/tincctl.8.in @@ -159,7 +159,7 @@ Show amount of traffic in kilobytes. Show amount of traffic in megabytes. .It Ic G Show amount of traffic in gigabytes. -.It Ic q , ESC +.It Ic q Quit. .El .Sh BUGS diff --git a/src/top.c b/src/top.c index 5a9edb08..f14395e2 100644 --- a/src/top.c +++ b/src/top.c @@ -305,7 +305,6 @@ void top(int fd) { scale = 1e-9; break; case 'q': - case 27: case KEY_BREAK: running = false; break;