Replies: 1 comment
-
File approach doesn't seem to work since content is not reflowed. I tried setting the PTY size to something larger than I needed but that results in mangled output due to the size mismatch. I'm wondering if this might be a bug? Probably just my lack of familiarity. I'll keep trying and report back if I manage to find a solution. I can't make my own reflow algorithm for this or implement my own scrollback. I've got to somehow preserve more of the output buffer while ensuring it displays properly in my console window. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a console that is connected to a ConPTY instance that interacts with it as it runs. When I issue a "ResizePseudoConsole" command, going from say 24 character height to 30, and my buffer was at 36 lines, I lose 12 lines of content, it reprints the latest 24 lines from the home position despite being resized to 30 rows. It seems my only option may be to write my buffer to memory and/or a file, issue the resize, clear the window, and write this file's contents to the terminal. I'm curious what other options I may have? Any advice is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions