wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
16.78k stars 752 forks source link

Previous Prompts in Nushell are New-Lined With Every Key-Press #6175

Open lzned opened 2 hours ago

lzned commented 2 hours ago

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20240203-110809-5046fc22

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

No, and I'll explain why below

Describe the bug

When using the nushell terminal, every time I type, previous prompts scroll up.

https://github.com/user-attachments/assets/da6d320c-b187-4a7a-b0fa-70529f655c41

To Reproduce

Open a nushell terminal with nu. On every key press, previous prompts should be scrolled up to the top of the screen

Configuration

no config

Expected Behavior

Previous prompts should stay where they are unless cleared.

Logs

wezterm version: 20240203-110809-5046fc22 x86_64-pc-windows-msvc Window Environment: Windows Lua Version: Lua 5.4 OpenGL: Intel(R) HD Graphics 620 4.5.0 - Build 31.0.101.2115

Anything else?

Other terminals (I've only tested it on Windows Terminal) don't share this behaviour.

loops commented 1 hour ago

Hi Izned,

This looks very similar to https://github.com/nushell/nushell/issues/5585
Does setting "shell_integration: false" in your config.nu make the problem go away?