aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.l')
-rw-r--r--src/parser.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.l b/src/parser.l
index df5b9de..dbafb9d 100644
--- a/src/parser.l
+++ b/src/parser.l
@@ -461,6 +461,7 @@ static void runes_parser_handle_il(RunesTerm *t, char *buf, size_t len)
int params[RUNES_PARSER_CSI_MAX_PARAMS] = { 1 }, nparams;
runes_parser_extract_csi_params(buf + 2, len - 3, params, &nparams);
+ /* XXX this is wrong - it only works if the cursor is on the top line */
runes_display_scroll_up(t, params[0]);
}