Skip to content
This repository was archived by the owner on May 30, 2022. It is now read-only.
This repository was archived by the owner on May 30, 2022. It is now read-only.

printing to screen from a background process while prompt is active #79

@mellexpro

Description

@mellexpro

Hi.

I would like to know if it is possible to refresh the screen buffer every time I have a console message be printed from a Thread operation.
Currently what happens is that when I do a cprint() in my application it prints to the screen but the text does not align with the statusbar and it looks bad in general, only when I press enter on the keyboard it seems to refresh and the screen looks good again.
So I am wondering if there is a method either in Nubia or in prompt-toolkit that allows for automatic refresh when the screen buffer has been written to with data that has not originated from the prompt commands.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions