summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2021-07-11 23:40:36 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-08-07 15:46:40 +0200
commitedb9412b834d246c8b8dbf78e52e6c0129bb66ef (patch)
treeea03897bceb7486492e87f30b5374b8c13c7721d /app.go
parentui: fix editor tests (diff)
Introduce backsearch message support with ctrl+R
Fixes: #47
Diffstat (limited to 'app.go')
-rw-r--r--app.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app.go b/app.go
index e1d8d59..3d6d3a2 100644
--- a/app.go
+++ b/app.go
@@ -401,6 +401,8 @@ func (app *App) handleKeyEvent(ev *tcell.EventKey) {
if ok {
app.typing()
}
+ case tcell.KeyCtrlR:
+ app.win.InputBackSearch()
case tcell.KeyTab:
ok := app.win.InputAutoComplete(1)
if ok {