Skip to content

[BUG] cursive.clear() does not work. #762

Open

Description

@massimo79m

Calling the cursive.clear() the screen is not cleared.
Also tried with cursive::backend:: .... clear() with ncurses, termion and crossterm.

Osx 13.4.1, rust and cursive updated.

Activity

  1. gyscos commented on Sep 29, 2023

    @gyscos
    Owner

    Hi, and thanks for the report!

    The clear() method is not usually meant to be used directly - it's more of an internal detail to remove anything left on the screen before drawing everything again.

    What would you like to do? Remove any existing view?

  2. massimo79m commented on Sep 29, 2023

    @massimo79m
    Author

    thank you for the answer!
    I wrote in #755 i would not to return to "terminal" between cursive.run() calls, and so i would to clear the screen before the first run() to have a void screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions