mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
vt: wip: implement scrolling region
This is largely untested, but existing scrolling code has been converted to using a terminal-global scrolling region that is defined as start-end of the scrollable region. This is compared to the old code where the scrolling region where defined in terms of marginals, counted in lines from top and from bottom.
This commit is contained in:
parent
7183b2f0fe
commit
b0a2c54fe8
6 changed files with 68 additions and 55 deletions
4
vt.c
4
vt.c
|
|
@ -574,12 +574,12 @@ esc_dispatch(struct terminal *term, uint8_t final)
|
|||
|
||||
case '=':
|
||||
/* Other half of xterm's smkx */
|
||||
LOG_WARN("ignoring ESC with final %c", final);
|
||||
LOG_WARN("unimplemented: keypad mode change");
|
||||
break;
|
||||
|
||||
case '>':
|
||||
/* Other half of xterm's rmkx */
|
||||
LOG_WARN("ignoring ESC with final %c", final);
|
||||
LOG_WARN("unimplemented: keypad mode change");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue