feat: add config option enable_terminal_color_scheme
This option defaults to off on windows because windows does not support resetting the terminal colors on exit. closes #26
This commit is contained in:
parent
08e06bc8dd
commit
c627a49518
2 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
|||
const builtin = @import("builtin");
|
||||
|
||||
frame_rate: usize = 60,
|
||||
theme: []const u8 = "default",
|
||||
input_mode: []const u8 = "flow",
|
||||
|
@ -11,6 +13,7 @@ vim_normal_gutter_line_numbers_relative: bool = true,
|
|||
vim_visual_gutter_line_numbers_relative: bool = true,
|
||||
vim_insert_gutter_line_numbers_relative: bool = false,
|
||||
enable_terminal_cursor: bool = false,
|
||||
enable_terminal_color_scheme: bool = builtin.os.tag != .windows,
|
||||
highlight_current_line: bool = true,
|
||||
highlight_current_line_gutter: bool = true,
|
||||
show_whitespace: bool = false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue