Right now, the handlers for OSC sequences are hardcoded and it doesn't support other codes other than 01 and 02. Is there any chance to allow user to specific a handler if a certain sequence is observed. One of such use cases is to detect the sequence
Hi Randy, yep, this is something I'd like to do. Ideally, pyte should have a dict mapping OSC commands to Screen slots, similar to how it is done for other ESC sequences.
Right now, the handlers for OSC sequences are hardcoded and it doesn't support other codes other than 01 and 02. Is there any chance to allow user to specific a handler if a certain sequence is observed. One of such use cases is to detect the sequence
which is used in imgcat to display images. It will allow applications to show images in their terminals.