mirror of https://github.com/xzeldon/htop.git
Merge pull request #441 from Explorer09/issue-438
Avoid overlapping key values defined by curses (Real fix).
This commit is contained in:
commit
3283c6d23c
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