vtgl

terminal emulator implemented in OpenGL
git clone anongit@rnpnr.xyz:vtgl.git
Log | Files | Refs | Feed | LICENSE

Commit: eba9728f9e5397528ac81c6e6dd09f5444913178
Parent: e605378fbffdeb8ac0d9bfed5baa0dd67e4db78e
Author: Randy Palamar
Date:   Fri, 27 Sep 2024 16:38:25 -0600

support SU (scroll up)

Diffstat:
Mterminal.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/terminal.c b/terminal.c @@ -768,7 +768,8 @@ handle_csi(Term *t, CSI *csi) case 'M': erase_lines(t, ORONE(csi->argv[0])); break; case 'P': erase_characters(t, ORONE(csi->argv[0])); break; case 'X': erase_characters(t, ORONE(csi->argv[0])); break; - case 'T': insert_blank_lines(t, ORONE(csi->argv[0])); break; + case 'S': fb_scroll_up(t, t->top, ORONE(csi->argv[0])); break; + case 'T': fb_scroll_down(t, t->top, ORONE(csi->argv[0])); break; case 'Z': push_tab(t, -(ORONE(csi->argv[0]))); break; case 'a': cursor_step_raw(t, ORONE(csi->argv[0]), 0, 1); break; case 'd': cursor_move_abs_to(t, csi->argv[0] - 1, p.x); break;