diff options
| author | Julian Hurst <ark@mansus.space> | 2022-05-25 16:15:07 +0200 |
|---|---|---|
| committer | Julian Hurst <ark@mansus.space> | 2022-05-25 16:15:07 +0200 |
| commit | 042791ee8518b5b3f196ca198e184d5913341619 (patch) | |
| tree | dc7cae7079494c457541c250dd051c2a4b5d03a8 /handlers.ha | |
| parent | f39c8515280c43151c3b03ef52aaf167e472d45d (diff) | |
| download | ilhare-042791ee8518b5b3f196ca198e184d5913341619.tar.gz | |
Use signalfd and poll to handle sigwinch
Diffstat (limited to 'handlers.ha')
| -rw-r--r-- | handlers.ha | 2 |
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)) { |
