crossterm icon indicating copy to clipboard operation
crossterm copied to clipboard

Windows terminal crash when clearing

Open maxomatic458 opened this issue 11 months ago • 0 comments

Describe the bug clearing the whole screen in windows terminal crashes the program

To Reproduce Steps to reproduce the behavior:

  1. have windows terminal as default app for commandline apps (can be set in the windows terminal settings)
  2. open a crossterm app (by either double click or right click open) that runs the following:
    stdout()    
        .execute(Clear(ClearType::All)).unwrap();
  1. the application will crash (if opened with an already existing windows terminal it does not crash) (it doesnt panic, it just crashes) Expected behavior it does not crash

OS Windows 10 22H2 19045.3324

Terminal/Console windows terminal

maxomatic458 avatar Aug 31 '23 00:08 maxomatic458