reedline icon indicating copy to clipboard operation
reedline copied to clipboard

The previous prompt gets partially deleted after using helix

Open PizzaKirby opened this issue 2 years ago • 1 comments

Platform Windows 10 Terminal software Windows Terminal 1.15.3465.0, nu 0.74

When using helix and the current line is close to the bottom of the terminal window, the line invoking helix disappears when starting to type. I haven't tested with other tui software.

Steps to reproduce

  1. fill up the terminal window
  2. open and exit helix
  3. start typing

Screenshots/Screencaptures

out.webm

PizzaKirby avatar Jan 11 '23 18:01 PizzaKirby

I think this could be related.

In the nu_scripts/benchmarks folder there is a benchmark called turtle.nu. If you run it, you get this:

benchmark { source turtle.nu }
Turtle 1 = 167
Turtle 2 = 464
Turtle 3 = 897
Turtle 4 = 1466
Turtle 5 = 1ms 184µs 583ns

Note that the line for Turtle 5 does not contain the string length for turtle 5, it contains the duration output of the benchmark command. This is what the output should look like.

benchmark { source turtle.nu }
Turtle 1 = 167
Turtle 2 = 464
Turtle 3 = 897
Turtle 4 = 1466
Turtle 5 = 2172
1ms 184µs 583ns

fdncred avatar Jan 16 '23 13:01 fdncred