projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a595f15
)
Ignore keys generated by a tty (xterm) resizing.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 11 Feb 2011 08:07:10 +0000
(09:07 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 11 Feb 2011 08:07:10 +0000
(09:07 +0100)
selector.c
patch
|
blob
|
history
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();