diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-25 00:27:22 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2022-02-25 00:38:15 +0100 |
commit | c1d2ebe8cac049808be400221c3ed4bda780cab7 (patch) | |
tree | 9c2701de49aaa8b6e3ab74c7d8f5aeaa481e2e48 /sfeed_opml_export | |
parent | 4a9456848a45edbc097770df20dec216f44ca0f5 (diff) |
sfeed_curses: cast character for SFEED_AUTOCMD to unsigned char
Otherwise a character like \xa0 (160) would be negative and goto the event,
since a negative return value in readch() is used for errors or reserved for
signal handling.
Noticed while testing mouse X10 encoding with extended buttons, like button 7:
SFEED_AUTOCMD="l$(printf '\x1b[M\xa0!!')j" ./sfeed_curses ~/.sfeed/feeds/*
Diffstat (limited to 'sfeed_opml_export')
0 files changed, 0 insertions, 0 deletions