summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-09-15 22:43:29 +0200
committerBoris Faure <billiob@gmail.com>2019-09-15 22:43:29 +0200
commitdbf92b1346f93d4937d57656b81b617d98bc109b (patch)
tree6abd3c0d76cf88f3d8b8f8c5e4027b8db95d3856 /src
parentc8d4e7499087909f16cfa91f1c265b3f0369f28a (diff)
termptyesc: use correct format specifier for int
Diffstat (limited to 'src')
-rw-r--r--src/bin/termptyesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index 2e05684..b01eb5f 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -1382,7 +1382,7 @@ _handle_esc_csi_dsr(Termpty *ty, Eina_Unicode *b)
1382 { 1382 {
1383 /* DSR-DECCKSR (Memory Checksum) */ 1383 /* DSR-DECCKSR (Memory Checksum) */
1384 int pid = _csi_arg_get(ty, &b); 1384 int pid = _csi_arg_get(ty, &b);
1385 len = snprintf(bf, sizeof(bf), "\033P%u!~0000\033\\", pid); 1385 len = snprintf(bf, sizeof(bf), "\033P%d!~0000\033\\", pid);
1386 termpty_write(ty, bf, len); 1386 termpty_write(ty, bf, len);
1387 } 1387 }
1388 else 1388 else