tulir / gomuks

A Matrix client written in Go.
https://maunium.net/go/gomuks
GNU Affero General Public License v3.0
1.37k stars 123 forks source link

Set terminal window/tab title? #464

Open n8willis opened 2 months ago

n8willis commented 2 months ago

Perhaps I've just missed this (or it's interfering with how I set my own window titles otherwise), but it seems as if gomuks does not set the title of the terminal window/tab when it's running.

By default, mine (bash in GNOME Terminal, on Ubuntu LTS mostly) is set to cwd, but I do like to have a multiple-tab terminal window in the corner for various long-running processes. For that, it'd be handy if I could glance at the tabs and click immediately on the one with gomuks in it, rather than missing it some percentage of the time.

(Hypothetically, I could think of some useful info that might also make up part of a terminal window/tab title, like the server connected to, or the active room, or number of messages or somesuch stuff. I don't feel strongly about any of that, but thought I'd mention it, in case that sparked someone's interest and the vanilla terminal-title didn't sound so exiting on its own.)