Commit 8df95fd0 authored by Paul Warren's avatar Paul Warren
Browse files

Option to reset scale during use.

parent 8d76ef06
......@@ -44,8 +44,8 @@
" S - toggle show source port l - set screen filter\n"\
" D - toggle show destination port L - lin/log scales\n"\
" p - toggle port display ! - shell command\n"\
" q - quit\n"\
"Sorting:\n"\
" r - reset scale\n"\
"Sorting: q - quit\n"\
" 1/2/3 - sort by 1st/2nd/3rd column\n"\
" < - sort by source name\n"\
" > - sort by dest name\n"\
......@@ -784,6 +784,11 @@ void ui_loop() {
showhelp(options.log_scale ? "Logarithmic scale" : "Linear scale");
ui_print();
break;
case 'r':
rateidx = 0;
rateidx_init = 0;
ui_print();
break;
case KEY_CLEAR:
case 12: /* ^L */
wrefresh(curscr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment