kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
23.62k stars 953 forks source link

Not a bug, but a modest feature request #7625

Closed bjd-pfq closed 1 month ago

bjd-pfq commented 1 month ago

Under a running kitty, how can we know what version is running? Obviously 'kitty --version' won't do, since the kitty running 'kitty --version' might not be the instance or version we are running under.

I would propose kitty sets an environment variable of its version, e.g. like bash does with its BASH_VERSION='5.1.16(1)-release'.

trygveaa commented 1 month ago

You can press Ctrl+Shift+F6 to see the version and a lot of other stuff.

kovidgoyal commented 1 month ago

Or run use the query terminal kitten. https://sw.kovidgoyal.net/kitty/kittens/query_terminal/