diff options
Diffstat (limited to 'libtui/widget/widget.ha')
| -rw-r--r-- | libtui/widget/widget.ha | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libtui/widget/widget.ha b/libtui/widget/widget.ha index 307378d..e34355c 100644 --- a/libtui/widget/widget.ha +++ b/libtui/widget/widget.ha @@ -4,8 +4,9 @@ use libtui; use io; use unix::tty; +use encoding::utf8; -export type error = !(io::error | tty::error); +export type error = !(io::error | tty::error | utf8::invalid); // A function that displays the widget. export type print = fn(w: *widget) (void | error); |
