mirror of https://github.com/mintsuki/flanterm
Fix L control sequence
This commit is contained in:
parent
1c84266b7a
commit
d519713fd5
2
term.c
2
term.c
|
@ -560,7 +560,7 @@ static void control_sequence_parse(struct term_context *ctx, uint8_t c) {
|
|||
break;
|
||||
case 'L': {
|
||||
size_t old_scroll_top_margin = ctx->scroll_top_margin;
|
||||
ctx->scroll_top_margin = y + 1;
|
||||
ctx->scroll_top_margin = y;
|
||||
for (size_t i = 0; i < ctx->esc_values[0]; i++) {
|
||||
ctx->revscroll(ctx);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue