contour-terminal / terminal-good-image-protocol

*Good* Image Protocol - a formalization of a proposal for a new image protocol for virtual terminal emulators
33 stars 2 forks source link

Save screenshot (screen / rect) to storage pool and to stdin #27

Open christianparpart opened 2 years ago

christianparpart commented 2 years ago

I know there is mediacopy (See https://github.com/hackerb9/vt340test/blob/main/mediacopy/mediacopy.sh). But this feels rather complex to me and I wonder if that could be very much trivialized into one or two simple VT sequences with only few parameters.

Idea is:

It should be possible to operate on the full screen with and without padding as well as on only a region of the screen, using screen cell coordinates.

Question is whether that should be possible to take a screenshot of the scrollback area or not. This sounds like something that the user would probably want to have configurable anyways.