cutie icon indicating copy to clipboard operation
cutie copied to clipboard

The display for 'prompt_yes_or_no' will break if the question prompt wraps due to window width.

Open Unordinal opened this issue 1 year ago • 0 comments

Using cutie.prompt_yes_or_no() and entering a long enough string - or just a moderately-sized string and resizing the console window just enough so it wraps - then typing or using the arrow keys to move the selector will completely break the display.

Resizing the window back so the original prompt will fit again will 'fix' the issue, though the duplicated lines will persist.

Input question string for the below was testtesttesttesttesttesttesttesttesttesttesttesttesttest.

image

Unordinal avatar Oct 15 '23 01:10 Unordinal