Display error messages differently in info line (#661)

* Add list of error messages to InfoLine.zig

* Change info and error cases according to review

* Add changes from review for width calculation
This commit is contained in:
Moabeat
2024-07-28 13:02:42 +02:00
committed by GitHub
parent 93554d9ba3
commit 19d4b195f3
6 changed files with 101 additions and 34 deletions

View File

@@ -7,7 +7,7 @@ const ViMode = enums.ViMode;
animation: Animation = .none,
asterisk: u8 = '*',
bg: u8 = 0,
bg: u16 = 0,
bigclock: bool = false,
blank_box: bool = true,
border_fg: u8 = 8,
@@ -16,7 +16,9 @@ clear_password: bool = false,
clock: ?[:0]const u8 = null,
console_dev: [:0]const u8 = "/dev/console",
default_input: Input = .login,
fg: u8 = 8,
error_bg: u16 = 0,
error_fg: u16 = 258,
fg: u16 = 8,
cmatrix_fg: u8 = 3,
hide_borders: bool = false,
hide_key_hints: bool = false,