projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ignore keys generated by a tty (xterm) resizing.
[selector.git]
/
selector.c
diff --git
a/selector.c
b/selector.c
index
e635029
..
d09f472
100644
(file)
--- a/
selector.c
+++ b/
selector.c
@@
-1240,6
+1240,10
@@
int main(int argc, char **argv) {
done = 1;
}
+ else if(key == KEY_RESIZE || key == -1) {
+ /* Do nothing when the tty is resized */
+ }
+
else {
/* Unknown key */
error_feedback();