mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-10 03:04:36 +03:00
Avoid overlapping key values defined by curses (Real fix).
Real fix for issue #438.
This commit is contained in:
2
CRT.c
2
CRT.c
@ -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(64) + (x - 'A')
|
#define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A'))
|
||||||
|
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
|
2
CRT.h
2
CRT.h
@ -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(64) + (x - 'A')
|
#define KEY_ALT(x) (KEY_F(64 - 26) + (x - 'A'))
|
||||||
|
|
||||||
|
|
||||||
extern const char *CRT_treeStrAscii[TREE_STR_COUNT];
|
extern const char *CRT_treeStrAscii[TREE_STR_COUNT];
|
||||||
|
Reference in New Issue
Block a user