Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Get direct stream of characters/special-functions/cursor-movement? #168

Open
matkuki opened this issue Sep 2, 2023 · 0 comments

Comments

@matkuki
Copy link

matkuki commented Sep 2, 2023

Hi,

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, ...

Thanks

@matkuki matkuki changed the title [Question] Get direct stream if characters? [Question] Get direct stream of characters/special-functions/cursor-movement? Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant