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

Support for write() while read() #7

Open
polyipseity opened this issue Mar 20, 2023 · 0 comments
Open

Support for write() while read() #7

polyipseity opened this issue Mar 20, 2023 · 0 comments

Comments

@polyipseity
Copy link

Currently, if you call write() after you read() and before that read has completed, the written text is inserted directly after the prompt with the typed content and the prompt line is not refreshed. If you backspace to force it to refresh, it overwrites the written text as if the write() has never happened.

This would be useful for an async REPL where text may be printed from async code running in the background.

polyipseity added a commit to polyipseity/obsidian-terminal that referenced this issue Mar 20, 2023
Blocked by [xterm-readline/GH#7](strtok/xterm-readline#7).

Signed-off-by: William So <[email protected]>
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