Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
872fb137
Commit
872fb137
authored
Oct 01, 2013
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reintroduce Ctrl-C and Ctrl-Z key handlers in varnishstat
parent
4dfcedbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
varnishstat_curses.c
bin/varnishstat/varnishstat_curses.c
+6
-0
No files found.
bin/varnishstat/varnishstat_curses.c
View file @
872fb137
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment