aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-19 12:52:14 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-19 12:52:14 +0000
commit08485ce412ed02c1294187dae1d19e23f26240a8 (patch)
tree0336b4dd3aa3d804bb91c1654048b267bce88f7d
parentrender: search: improve handling of very long search strings (diff)
csi: fix typo - the '(' was in the wrong place
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index e6cbeefc..ce89cad6 100644
--- a/csi.c
+++ b/csi.c
@@ -891,7 +891,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
char reply[64];
snprintf(reply, sizeof(reply), "\033[9;%d;%dt",
it->item->dim.px_real.height / term->cell_height / term->scale,
- it->item->dim.px_real.width / term->cell_width) / term->scale;
+ it->item->dim.px_real.width / term->cell_width / term->scale);
term_to_slave(term, reply, strlen(reply));
break;
}