projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bah, I've bumped into this often enough. Change one unsatisfactory cast for
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
ef40de2
..
19d5a75
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-3778,7
+3778,7
@@
static void term_out(Terminal *term)
if (term->ldisc)
ldisc_send(term->ldisc,
is_iconic(term->frontend) ?
if (term->ldisc)
ldisc_send(term->ldisc,
is_iconic(term->frontend) ?
- "\033[
1t" : "\033[2
t", 4, 0);
+ "\033[
2t" : "\033[1
t", 4, 0);
break;
case 13:
if (term->ldisc) {
break;
case 13:
if (term->ldisc) {
@@
-3790,7
+3790,7
@@
static void term_out(Terminal *term)
case 14:
if (term->ldisc) {
get_window_pixels(term->frontend, &x, &y);
case 14:
if (term->ldisc) {
get_window_pixels(term->frontend, &x, &y);
- len = sprintf(buf, "\033[4;%d;%dt",
x, y
);
+ len = sprintf(buf, "\033[4;%d;%dt",
y, x
);
ldisc_send(term->ldisc, buf, len, 0);
}
break;
ldisc_send(term->ldisc, buf, len, 0);
}
break;