nushell / reedline

A feature-rich line editor - powering Nushell
https://docs.rs/reedline/
MIT License
549 stars 154 forks source link

Render duplicate lines when submitting multiline text via the buffer editor #824

Open sigoden opened 2 months ago

sigoden commented 2 months ago

Platform: Windows 10 Terminal software: Windows Terminal, Windows Powershell

Render duplicate lines when submitting multiline text via the buffer editor.

Steps to reproduce

  1. pull the latest commit (7af8959)
  2. run cargo run --example demo
  3. type ctrl+o to open buffer editor
  4. type multi-line text
  5. exit the buffer editor
  6. submit the buffer

Screenshots/Screencaptures

https://github.com/user-attachments/assets/fb67efe3-bd8e-40a8-8b73-020f2a6d867a

fdncred commented 2 months ago

I'm pretty sure I have an open issue like this in nushell too.

sigoden commented 2 months ago

Also reported at nushell/nushell#13240