Discussion:
[PATCH] Fix answer to CSI "report size of text area" escape sequence
Vincent Bernat
2015-05-24 19:56:59 UTC
Permalink
The final "t" was missing. It is needed to indicate the end of the
answer sequence.
---
input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/input.c b/input.c
index dc0616950ca8..ba950a68ed83 100644
--- a/input.c
+++ b/input.c
@@ -1523,7 +1523,7 @@ input_csi_dispatch_winops(struct input_ctx *ictx)
return;
break;
case 18:
- input_reply(ictx, "\033[8;%u;%u", wp->sy, wp->sx);
+ input_reply(ictx, "\033[8;%u;%ut", wp->sy, wp->sx);
break;
default:
log_debug("%s: unknown '%c'", __func__, ictx->ch);
--
2.0.1
Loading...