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

New Python terminal input is sometimes a bit sluggish #21

Open
tjclement opened this issue Jul 23, 2020 · 2 comments
Open

New Python terminal input is sometimes a bit sluggish #21

tjclement opened this issue Jul 23, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tjclement
Copy link
Member

Perhaps due to the frequency with which we poll the ESP for new output?

@jorisplusplus
Copy link
Collaborator

Poll rate is 500ms which is causing the sluggish feel since we dont show the typed letters only the letters written by micropython. Increasing the polling rate will increase overhead and increase chance of the webusb stack crashing

@tjclement
Copy link
Member Author

Yes, so maybe we can consider typing offline into the terminal and flushing on return/tab. That of course increases the complexity of our code, but it makes the user experience much nicer imo

@tjclement tjclement added enhancement New feature or request help wanted Extra attention is needed labels Jul 24, 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 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants