diff options
| author | Julian Hurst <julian.hurst92@gmail.com> | 2022-06-20 19:26:19 +0200 |
|---|---|---|
| committer | Julian Hurst <julian.hurst92@gmail.com> | 2022-06-20 19:26:19 +0200 |
| commit | 84e398e20bb6d81ef23d14ee58b28a680d228501 (patch) | |
| tree | 3c96675caf563e126c70955944cd39ff41110be2 /handlers.ha | |
| parent | a95fcb445bbc9299eb1d974ce34db8cf24622c10 (diff) | |
| download | ilhare-84e398e20bb6d81ef23d14ee58b28a680d228501.tar.gz | |
Use layout::print in main UI loop
Diffstat (limited to 'handlers.ha')
| -rw-r--r-- | handlers.ha | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/handlers.ha b/handlers.ha index c50e454..2e7609f 100644 --- a/handlers.ha +++ b/handlers.ha @@ -194,16 +194,5 @@ fn runehandler(l: *widget::widget, r: libtui::key) bool = { fmt::fprintln(os::stderr, "newline")!; }; }; - libtui::clear(l.widget.ui); - match (list::print(l)) { - case void => - yield; - case let e: io::error => - fmt::fprintln(os::stderr, io::strerror(e))!; - return true; - case let e: tty::error => - fmt::fprintln(os::stderr, tty::strerror(e))!; - return true; - }; return false; }; |
