Skip to content
GitLab
Menu
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
f295a52e
Commit
f295a52e
authored
Mar 08, 2016
by
Hisham
Browse files
Avoid overlapping key values defined by curses.
Closes #438.
parent
e2ccc7b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
CRT.c
View file @
f295a52e
...
@@ -125,7 +125,7 @@ void CRT_fatalError(const char* note) __attribute__ ((noreturn));
...
@@ -125,7 +125,7 @@ void CRT_fatalError(const char* note) __attribute__ ((noreturn));
void CRT_handleSIGSEGV(int sgn);
void CRT_handleSIGSEGV(int sgn);
#define KEY_ALT(x) KEY_F(6
0
) + (x - 'A')
#define KEY_ALT(x) KEY_F(6
4
) + (x - 'A')
}*/
}*/
...
...
CRT.h
View file @
f295a52e
...
@@ -115,7 +115,7 @@ void CRT_fatalError(const char* note) __attribute__ ((noreturn));
...
@@ -115,7 +115,7 @@ void CRT_fatalError(const char* note) __attribute__ ((noreturn));
void
CRT_handleSIGSEGV
(
int
sgn
);
void
CRT_handleSIGSEGV
(
int
sgn
);
#define KEY_ALT(x) KEY_F(6
0
) + (x - 'A')
#define KEY_ALT(x) KEY_F(6
4
) + (x - 'A')
extern
const
char
*
CRT_treeStrAscii
[
TREE_STR_COUNT
];
extern
const
char
*
CRT_treeStrAscii
[
TREE_STR_COUNT
];
...
...
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