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

consider to create a terminal event update when the state change #177

Open
Raffaello opened this issue Jun 16, 2020 · 0 comments
Open

consider to create a terminal event update when the state change #177

Raffaello opened this issue Jun 16, 2020 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@Raffaello
Copy link
Owner

Raffaello commented Jun 16, 2020

every time write a char or something change the terminal status, dispatch an event to represent need updates.

so it could be done in an async mode.

how many if it is already pushed an event update, should send multiple for every single char? the render will just render the last one...

so i will say it will just raise a flag more then publish an event per se.

so multiple chnages without render will be just a flag send to the queue and doesnt publish anything else unless the "internal" flag was updated=true for eg....

this put also redundant the fact of the event pushing to sdl but it might be smoother for the event loop....

also the term handler function could just handle its own events automatically....

for sure require a flag to enable/disable this new feature.
it can just start with disabled.

@Raffaello Raffaello added enhancement New feature or request question Further information is requested labels Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant