Closed kurtlawrence closed 4 years ago
The behaviour can be rectified by disabling raw mode (https://docs.rs/crossterm/0.14.1/crossterm/terminal/fn.disable_raw_mode.html), running the evalution, then re-enabling raw mode (https://docs.rs/crossterm/0.14.1/crossterm/terminal/fn.enable_raw_mode.html).
There is also a small issue with linux printing/not erasing last line when a read line overflows which can be fixed on this commit
Running the following. Does not carriage return with the
println!()
. Behaviour does not replicate on windows.