fix: invalid config errors
This commit is contained in:
parent
bcc836b695
commit
db7f5f0224
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ fn init(allocator: Allocator) !*Self {
|
|||
|
||||
const theme = get_theme_by_name(conf.theme) orelse get_theme_by_name("dark_modern") orelse return tp.exit("unknown theme");
|
||||
conf.theme = theme.name;
|
||||
conf.whitespace_mode = try allocator.dupe(u8, conf.whitespace_mode);
|
||||
conf.input_mode = try allocator.dupe(u8, conf.input_mode);
|
||||
conf.top_bar = try allocator.dupe(u8, conf.top_bar);
|
||||
conf.bottom_bar = try allocator.dupe(u8, conf.bottom_bar);
|
||||
|
|
Loading…
Add table
Reference in a new issue