fix(tui): exit on input eof

This commit is contained in:
zeertzjq
2023-02-13 16:33:20 +08:00
parent 5a8039a0cb
commit 820430dc0b
5 changed files with 11 additions and 10 deletions

View File

@@ -113,7 +113,7 @@ void ui_client_run(bool remote_ui)
ui_client_is_remote = remote_ui;
int width, height;
char *term;
tui = tui_start(&width, &height, &term);
tui_start(&tui, &width, &height, &term);
ui_client_attach(width, height, term);