Remove tput dependency & use termbox2 instead

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2024-08-03 21:48:38 +02:00
parent 0bbe9c78dd
commit b73c78d2fb
6 changed files with 12 additions and 30 deletions

View File

@@ -41,8 +41,6 @@ shutdown_cmd: []const u8 = "/sbin/shutdown -a now",
shutdown_key: []const u8 = "F1",
sleep_cmd: ?[]const u8 = null,
sleep_key: []const u8 = "F3",
term_reset_cmd: [:0]const u8 = build_options.prefix_directory ++ "/bin/tput reset",
term_restore_cursor_cmd: []const u8 = build_options.prefix_directory ++ "/bin/tput cnorm",
tty: u8 = build_options.tty,
vi_mode: bool = false,
vi_default_mode: ViMode = .normal,