Skip to content

Support for write() while read() #7

@polyipseity

Description

@polyipseity

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions