diff options
author | delthas <delthas@dille.cc> | 2021-07-11 23:40:36 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-08-07 15:46:40 +0200 |
commit | edb9412b834d246c8b8dbf78e52e6c0129bb66ef (patch) | |
tree | ea03897bceb7486492e87f30b5374b8c13c7721d /ui/ui.go | |
parent | ui: fix editor tests (diff) |
Introduce backsearch message support with ctrl+R
Fixes: #47
Diffstat (limited to '')
-rw-r--r-- | ui/ui.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -265,6 +265,10 @@ func (ui *UI) InputClear() bool { return ui.e.Clear() } +func (ui *UI) InputBackSearch() { + ui.e.BackSearch() +} + func (ui *UI) Resize() { w, h := ui.screen.Size() innerWidth := w - 9 - ui.config.ChanColWidth - ui.config.NickColWidth - ui.config.MemberColWidth |