fix(flicker): home screen should not load if we have a file to open
This commit is contained in:
parent
980529029f
commit
c507fb905d
1 changed files with 2 additions and 1 deletions
|
@ -291,7 +291,8 @@ pub fn main() anyerror!void {
|
|||
|
||||
for (links.items) |link| {
|
||||
try file_link.navigate(tui_proc.ref(), &link);
|
||||
} else {
|
||||
}
|
||||
if (links.items.len == 0) {
|
||||
if (!have_project)
|
||||
try tui_proc.send(.{ "cmd", "open_project_cwd" });
|
||||
try tui_proc.send(.{ "cmd", "show_home" });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue