fix: initialize input namespace before restoring session
This commit is contained in:
parent
28b256971a
commit
bc3ddba228
1 changed files with 1 additions and 1 deletions
|
@ -141,12 +141,12 @@ fn init(allocator: Allocator) !*Self {
|
|||
self.set_terminal_style();
|
||||
try self.rdr.render();
|
||||
try self.save_config();
|
||||
try self.init_input_namespace();
|
||||
if (tp.env.get().is("restore-session")) {
|
||||
command.executeName("restore_session", .{}) catch |e| self.logger.err("restore_session", e);
|
||||
self.logger.print("session restored", .{});
|
||||
}
|
||||
need_render();
|
||||
try self.init_input_namespace();
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue