diff options
author | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-22 12:17:43 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-22 12:17:43 +0200 |
commit | 271ec48374b142f35b74dad436b78ebcabc2a01f (patch) | |
tree | b5b811183bef0540c1f5036a793a3d89890d8b80 | |
parent | doc: Fix typos, improve wording somewhat (diff) |
Don't send @+typing=done in the home buffer
-rw-r--r-- | app.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -309,9 +309,12 @@ func (app *App) typing() { return } buffer := app.win.CurrentBuffer() + if buffer == ui.Home { + return + } if app.win.InputLen() == 0 { app.s.TypingStop(buffer) - } else if buffer != ui.Home && !app.win.InputIsCommand() { + } else if !app.win.InputIsCommand() { app.s.Typing(app.win.CurrentBuffer()) } } |