From 84e398e20bb6d81ef23d14ee58b28a680d228501 Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Mon, 20 Jun 2022 19:26:19 +0200 Subject: Use layout::print in main UI loop --- handlers.ha | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'handlers.ha') 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; }; -- cgit v1.2.3