summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.go b/app.go
index 3031bcd..73fe90a 100644
--- a/app.go
+++ b/app.go
@@ -250,7 +250,7 @@ func (app *App) handleUIEvent(ev tcell.Event) {
app.handleInput(buffer, input)
case tcell.KeyRune:
app.win.InputRune(ev.Rune())
- if app.win.CurrentBuffer() != ui.Home && !app.win.InputIsCommand() {
+ if app.win.CurrentBuffer() != ui.Home && !app.win.InputIsCommand() && !(app.win.InputLen() == 0 && ev.Rune() == '/') {
app.s.Typing(app.win.CurrentBuffer())
}
}