aboutsummaryrefslogtreecommitdiff
path: root/handlers.ha
diff options
context:
space:
mode:
Diffstat (limited to 'handlers.ha')
-rw-r--r--handlers.ha2
1 files changed, 0 insertions, 2 deletions
diff --git a/handlers.ha b/handlers.ha
index 41f895f..68d7556 100644
--- a/handlers.ha
+++ b/handlers.ha
@@ -177,13 +177,11 @@ fn runehandler(l: *widget::widget, r: rune) bool = {
case '\n' =>
// For some reason enter doesn't send r == '\n'
fmt::fprintln(os::stderr, "This is not detected")!;
- yield;
case =>
let us = utf8::encoderune(r);
if (len(us) > 0 && us[0] == 13u8) {
fmt::fprintln(os::stderr, "newline")!;
};
- yield;
};
libui::clear(l.widget.ui);
match (list::print(l)) {