Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
22.13k stars 842 forks source link

WINDOWID environment variable is set to 0 instead of the actual Window id #573

Open Lyle-Tafoya opened 4 years ago

Lyle-Tafoya commented 4 years ago

I noticed that this terminal does not currently set the WINDOWID environment variable correctly in X11 environments. I am developing an application which unfortunately requires this information to work due to some inherent terminal emulator limitations. There is an alternative method I can use to attempt to determine the X11 Window id, but it is unreliable (something as simple as running my program inside of tmux/screen would break it). This environment variable is set by most popular terminal emulators (ie. xterm, urxvt, konsole, etc...).

If it's not too much effort, I'd appreciate it if you could set this variable so that developers like myself can make use of it.