0 votes
by (120 points)

Hello,
I use TerminalControl in my .NET application. And here is a strange behavior I have.
Steps to reproduce:
1. Put long text into your console
2. Make window smaller
3. Restore previous size. You can see that the right part of text is cut
4. Try to copy/paste your command. You can see that "cut" part is not copied.

Please see images.
Could you assist me with this issue?

pic1
pic2

1 Answer

0 votes
by (144k points)

The TerminalControl class is not perfect, and does not persist the contents of the out-of-window area when it's resized to a smaller size and back. This functionality was not part of the original design goals, and adding it at this point would be non-trivial – we would have to change the inner logic a lot. So unfortunately, I’m afraid this enhancement won't make it into our roadmap any time soon. Sorry!

...