Is there a possibility instead of getting a Screen object with a list of lines to display,
to get a Character/special function/cursor movement output stream somehow?
In my use case with PyQt's QPlainTextEdit, it's easier to fill an editor character by character,
instead of recalculating the new top point of where the newly received buffer should start. That would
give the ability to the QPlainTextEdit to use it's built-in scrolling system.
I mean I tried, but it's very wonky, especially when trying to make it work on Windows and Linux.
If you're off by one line height you get the wrong thing to happen, like: some lines get duplicated, lines that shouldn't be deleted get deleted, ...
Hi,
Is there a possibility instead of getting a
Screen
object with a list of lines to display, to get aCharacter/special function/cursor movement
output stream somehow?In my use case with
PyQt
'sQPlainTextEdit
, it's easier to fill an editor character by character, instead of recalculating the new top point of where the newly received buffer should start. That would give the ability to theQPlainTextEdit
to use it's built-in scrolling system.I mean I tried, but it's very wonky, especially when trying to make it work on
Windows
andLinux
. If you're off by one line height you get the wrong thing to happen, like: some lines get duplicated, lines that shouldn't be deleted get deleted, ...Thanks