Skip to content

Set console prompt cursor position at last line if application writes also messages to console #285

@abrasat

Description

@abrasat

I have a test application where the Prompt.Select is located in a loop and different actions are performed depending on the actual selection. If the actions also write messages to the console, the Prompt.Select text is displayed somewehere in the midddle of the console messages generated during the execution of the different actions. For the first iteration is all ok, but after that the prompt select text is not at the last line anymore. I tried to call Console.SetCursorPosition(0, Console.CursorTop) before Prompt.Select() , but it does not help....

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