nushell icon indicating copy to clipboard operation
nushell copied to clipboard

Resizing terminal in VSCode causes a line in the scrollback buffer to be lost

Open yizhepku opened this issue 4 months ago • 2 comments

Describe the bug

Resizing the terminal in VSCode (using the "Restore Panel Size" button) causes one line of text to disappear in the scrollback buffer.

This doesn't happen with Powershell, so I'm assuming this is a bug on the Nushell side.

How to reproduce

Here's a recording of the bug happening. Notice the line after echo 3 disappeared.

Tested on a fresh install of Nushell and VSCode Insider.

Recording 2024-10-15 at 15 08 32

Expected behavior

No text should be lost when resizing.

Configuration

key value
version 0.98.1
major 0
minor 98
patch 1
branch main
commit_hash 639bd4fc2eec0134f70a2bbda771f7a0b558ebc4
build_os windows-x86_64
build_target x86_64-pc-windows-msvc
rust_version rustc 1.79.0 (129f3b996 2024-06-10)
rust_channel 1.79.0-x86_64-pc-windows-msvc
cargo_version cargo 1.79.0 (ffa9cf99a 2024-06-03)
build_time 2024-10-15 15:16:02 +08:00
build_rust_channel debug
allocator mimalloc
features default, sqlite, trash
installed_plugins

yizhepku avatar Oct 15 '24 07:10 yizhepku