mirror of https://github.com/xzeldon/htop.git
Avoid overlapping key values defined by curses (Real fix).
Real fix for issue #438.
This commit is contained in:
parent
f295a52ed9
commit
8a928c8b89
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];
|
||||||
|
|
Loading…
Reference in New Issue