summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-04-27 14:41:45 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-04-27 14:48:48 +0200
commitef1ca1c2efcab9886d3781193b0cafb552ac8689 (patch)
treefa9978561c23320bd2155b50c5cc18063005a33a /app.go
parentRevert back to tcell 2.2.0 (diff)
Add option to disable sending typing notifications
Diffstat (limited to 'app.go')
-rw-r--r--app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.go b/app.go
index 13d77ab..c30c3ea 100644
--- a/app.go
+++ b/app.go
@@ -567,7 +567,7 @@ func (app *App) notifyHighlight(buffer, nick, content string) {
// typing sends typing notifications to the IRC server according to the user
// input.
func (app *App) typing() {
- if app.s == nil {
+ if app.s == nil || app.cfg.NoTypings {
return
}
buffer := app.win.CurrentBuffer()