diff options
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -194,6 +194,14 @@ func (app *App) ircLoop() { src: ircEvent, content: session, } + go func() { + for stop := range session.TypingStops() { + app.events <- event{ + src: ircEvent, + content: stop, + } + } + }() for msg := range in { if app.cfg.Debug { app.queueStatusLine(ui.Line{ @@ -501,6 +509,10 @@ func (app *App) handleIRCEvent(ev interface{}) { app.s = s return } + if _, ok := ev.(irc.Typing); ok { + // Just refresh the screen. + return + } msg := ev.(irc.Message) |