You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OSC 52 allows pasting assuming it is allowed by Windows Terminal so that at least gives prior work that shows OSC can be used to get data from the local machine.
I was wondering if it is possible to add something like a non-standard OSC code that would yield the name of the terminal app or allow querying the terminal app as using the WT_SESSION environment variable is won't work over SSH like in moor
Something like OSC XX will force typing WindowsTerminal\0 by Windows terminal.
The querying would be
OSC XX WindowsTerminal;Hyper;; and force typing \1 if it matches. The only restriction that should be put in place is the escape sequence must be less than 80-characters,
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
OSC 52
allows pasting assuming it is allowed by Windows Terminal so that at least gives prior work that shows OSC can be used to get data from the local machine.I was wondering if it is possible to add something like a non-standard OSC code that would yield the name of the terminal app or allow querying the terminal app as using the
WT_SESSION
environment variable is won't work over SSH like in moorhttps://github.com/walles/moor/blob/36e76c6caa17bc16ad0ebc6174c1fe2b2925fae9/twin/screen.go#L374
Something like
OSC XX
will force typingWindowsTerminal\0
by Windows terminal.The querying would be
OSC XX WindowsTerminal;Hyper;;
and force typing\1
if it matches. The only restriction that should be put in place is the escape sequence must be less than 80-characters,Beta Was this translation helpful? Give feedback.
All reactions