sixels, OSC #1
Replies: 3 comments 1 reply
-
heck being able to click on URLs displayed with OSC 8 would be nice too :D |
Beta Was this translation helpful? Give feedback.
-
Good ideas here. I think you are right as well other than adding an inline filter to catch certain sequences manually I don't think there are any events one can bind to do so for all these things. I would recommend filing an upstream feature request with these items for the base term items. If they are added I am happy to expose them (not that we really prevent direct access). |
Beta Was this translation helpful? Give feedback.
-
hey I am dumb sometimes. Had an old version of OpenConsole.exe in there. Sixels do of course work fine with that up to date. ![]() and ConPTYTerm.InterceptOutputToUITerminal += (ref Span str) => { blah(); } does let me catch OSC codes. Just need to implement them all :D Have done tab title and BG color so far ![]() I get deadlocks rapidly opening tabs, somewhere in the depths of the wpf terminal control (MS code), posted about it here microsoft/terminal#19371 with a workaround. An annoyance though |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've got this working well in a tabbed interface with a little extra plumbing for the terminal to inform the tab if it closes and vice versa.
No Sixels though! This is with Microsoft.Terminal.WPF compiled from head (from MS' terminal repo) and conpty.dll from the same. Is this a limitation of their wpf control, or something in EasyWindowsTerminalControl (and is it intractible or is there an option I am missing)?
Also, would be nice to react to OSC sequences, like setting window title, or displaying progress, or changing tab color to match new BG color set with OSC 11. Is there any way to read the output short of easyTerminalControl.LogConPTYOutput = true; and then easyTerminalControl.ConPTYTerm.GetConsoleText(); to get literally everything? Edit ReadOutputLoop in TermPTY to fire an event? look for codes when that event is picked up, or maybe only fire them from ReadOutputLoop if they are detected? Think I can see how I would go about this, just wondering if you've done anything with reacting to the text that comes through!
edit if I could subscribe to TerminalOutput events.. still poking
edit2 easyTerminalControl.ConPTYTerm.TerminalOutput += HandleText; <- OK, that's getting everything a bit at a time instead of all at once. Input as well as output. can probably get something going from there. determining whether input out output though.. all input is eventually output too head spins a bit
Beta Was this translation helpful? Give feedback.
All reactions