projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing casts in arguments to ctype functions.
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
171db03
..
113edc4
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-6002,6
+6002,13
@@
void term_mouse(Terminal *term, Mouse_Button braw, Mouse_Button bcooked,
request_paste(term->frontend);
}
request_paste(term->frontend);
}
+ /*
+ * Since terminal output is suppressed during drag-selects, we
+ * should make sure to write any pending output if one has just
+ * finished.
+ */
+ if (term->selstate != DRAGGING)
+ term_out(term);
term_update(term);
}
term_update(term);
}
@@
-6101,6
+6108,14
@@
void term_deselect(Terminal *term)
{
deselect(term);
term_update(term);
{
deselect(term);
term_update(term);
+
+ /*
+ * Since terminal output is suppressed during drag-selects, we
+ * should make sure to write any pending output if one has just
+ * finished.
+ */
+ if (term->selstate != DRAGGING)
+ term_out(term);
}
int term_ldisc(Terminal *term, int option)
}
int term_ldisc(Terminal *term, int option)