diff options
-rw-r--r-- | commands/term.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/commands/term.go b/commands/term.go index 5d0dd020..64657747 100644 --- a/commands/term.go +++ b/commands/term.go @@ -41,8 +41,10 @@ func TermCore(aerc *widgets.Aerc, args []string) error { if title == "" { title = args[1] } - tab.Name = title - ui.Invalidate() + if tab.Name != title { + tab.Name = title + ui.QueueRedraw() + } } term.OnClose = func(err error) { aerc.RemoveTab(term, false) |