reedline icon indicating copy to clipboard operation
reedline copied to clipboard

Bug: When the window size changes, it causes drawing residue

Open luzilong2005 opened this issue 5 months ago • 6 comments

Describe the bug

When using Nushell in the Terminal on Windows 11 and adjusting the window size, repetitive drawing content will appear.

How to reproduce

https://github.com/user-attachments/assets/9f997f6f-2a59-45ce-aa73-5964f2eefbfe

Expected behavior

When adjusting the size of the window, only the original content should be retained.

Configuration

key value
version 0.105.1
major 0
minor 105
patch 1
branch
commit_hash 1fe62ee6132372453d6bfeb95978ee61a2b77f3b
build_os windows-x86_64
build_target x86_64-pc-windows-msvc
rust_version rustc 1.85.1 (4eb161250 2025-03-15)
rust_channel 1.85.1-x86_64-pc-windows-msvc
cargo_version cargo 1.85.1 (d73d2caf9 2024-12-31)
build_time 2025-06-10 19:56:11 +00:00
build_rust_channel release
allocator standard
features default, sqlite, trash
installed_plugins

luzilong2005 avatar Jul 10 '25 12:07 luzilong2005

I think this is a reedline issue. I've seen this before. Wouldn't surprise me if this issue is a dupe.

fdncred avatar Jul 10 '25 12:07 fdncred

#898 Probably fixes this issue, works for most terminal apps on macOS.

blindFS avatar Jul 11 '25 10:07 blindFS

@blindFS It has not been fixed on Windows yet.

luzilong2005 avatar Jul 11 '25 10:07 luzilong2005

@blindFS It has not been fixed on Windows yet.

Have you tried manually compiling nushell with a patched version of reedline?

blindFS avatar Jul 11 '25 10:07 blindFS

Have you tried manually compiling nushell with a patched version of reedline?

@blindFS No, I lack experience in this aspect.

luzilong2005 avatar Jul 11 '25 10:07 luzilong2005

@luckzilong No worries, you can wait for future nushell releases if it gets merged.

blindFS avatar Jul 11 '25 10:07 blindFS