aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/other/hexedit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/toys/other/hexedit.c b/toys/other/hexedit.c
index 809340a1..4b628463 100644
--- a/toys/other/hexedit.c
+++ b/toys/other/hexedit.c
@@ -158,8 +158,8 @@ void hexedit_main(void)
} else {
TT.base--;
i++;
- tty_esc("1T");
tty_jump(0, 0);
+ tty_esc("1L");
draw_line(0);
}
}
@@ -170,7 +170,8 @@ void hexedit_main(void)
} else {
TT.base++;
i++;
- tty_esc("1S");
+ tty_jump(0, 0);
+ tty_esc("1M");
tty_jump(0, TT.height-1);
draw_line(TT.height-1);
}