diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-01 10:23:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-01 10:23:38 +0000 |
| commit | d70956da08c987af639fd8e03e669ca59c4c542b (patch) | |
| tree | 45010a108850fc3e40970b2b4a8f5faeaf180f07 /csi.c | |
| parent | vt: only prep logging of CSI/ESC parameters when debug logging is enabled (diff) | |
wip: use a sliding window instead of memmove() to scroll
Instead of memmoving a large amount of data on every scroll, use a
sliding window. That is, each time we scroll, we offset origin.
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -280,7 +280,7 @@ csi_dispatch(struct terminal *term, uint8_t final) i == term->vt.params.idx - 1 ? "" : ";"); } - c += snprintf(&log[c], sizeof(log) - c, "%c (%zu parameters)", + c += snprintf(&log[c], sizeof(log) - c, "%c (%d parameters)", final, term->vt.params.idx); LOG_DBG("%s", log); #endif |
