nushell/nushell

≈20 new lines and a new prompt inserted on start

开放

#8,213 创建于 2023年2月25日

 (4 条评论) (7 个反应) (0 位负责人)Rust (2,129 个派生)batch import
A:line-editorhelp wanted

仓库指标

星标
 (39,478 个星标)
PR 合并指标
 (平均合并 4天 1小时) (30 天内合并 123 个 PR)

描述

Describe the bug

I'm starting nu at the end of my .zshrc with nu. I open a new terminal and am greeted with the prompt. Upon typing any character a new prompt appears 20 lines lower and my cursor jumps to it. The amount of new space varies depending on how many windows I have open with my tiling window manager, ex 8 open, 3 times as many new lines inserted. This issue only occurs about 2/3 of the time in a predictable pattern. The first and second instance of the terminal that I open both exhibit the issue, but after that it works normally.

How to reproduce

I'm using Alacritty as my terminal emulator Macos Apple Silicon Default configuration for nu The issue is persistent across different terminal emulators. testing with installations from both brew and cargo

Expected behavior

I expect no insertion of a second prompt

Screenshots

Screenshot 2023-02-25 at 3 46 41 PM

Configuration

key value
version 0.76.0
branch
commit_hash
build_os macos-aarch64
build_target aarch64-apple-darwin
rust_version rustc 1.67.1 (d5a82bbd2 2023-02-07) (built from a source tarball)
cargo_version cargo 1.67.0 (8ecd4f20a 2023-01-10)
pkg_version 0.76.0
build_time 2023-02-21 20:46:29 +00:00
build_rust_channel release
features database, default, trash, which, zip
installed_plugins

Additional context

No response

贡献者指南