Commit 872fb137 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Reintroduce Ctrl-C and Ctrl-Z key handlers in varnishstat

parent 4dfcedbd
......@@ -832,9 +832,15 @@ handle_keypress(int ch)
case 'Q':
keep_running = 0;
return;
case '\003': /* Ctrl-C */
AZ(raise(SIGINT));
return;
case '\024': /* Ctrl-T */
sample = 1;
return;
case '\032': /* Ctrl-Z */
AZ(raise(SIGTSTP));
return;
default:
return;
}
......
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