commit 271ec48
Hubert Hirtz
·
2020-08-22 10:17:43 +0000 UTC
parent 094769f
Don't send @+typing=done in the home buffer
1 files changed,
+4,
-1
M
app.go
M
app.go
+4,
-1
1@@ -309,9 +309,12 @@ func (app *App) typing() {
2 return
3 }
4 buffer := app.win.CurrentBuffer()
5+ if buffer == ui.Home {
6+ return
7+ }
8 if app.win.InputLen() == 0 {
9 app.s.TypingStop(buffer)
10- } else if buffer != ui.Home && !app.win.InputIsCommand() {
11+ } else if !app.win.InputIsCommand() {
12 app.s.Typing(app.win.CurrentBuffer())
13 }
14 }