Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
112db9a6
Commit
112db9a6
authored
8 years ago
by
Hisham
Browse files
Options
Download
Email Patches
Plain Diff
Handle SIGQUIT. Closes #503.
parent
5db1b0e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRT.c
+1
-0
CRT.c
with
1 addition
and
0 deletions
+1
-0
CRT.c
View file @
112db9a6
...
...
@@ -599,6 +599,7 @@ void CRT_init(int delay, int colorScheme) {
signal
(
11
,
CRT_handleSIGSEGV
);
#endif
signal
(
SIGTERM
,
CRT_handleSIGTERM
);
signal
(
SIGQUIT
,
CRT_handleSIGTERM
);
use_default_colors
();
if
(
!
has_colors
())
CRT_colorScheme
=
1
;
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help