Skip to content

Key repeat lags over SSH connection (only) #14474

Open
@fraimondo

Description

Describe the bug

I have installed nushell locally and in a remote server.

When I use it locally, the shell is working perfectly. Both zsh and nu are blazinigly fast when I want to move left/right through a long command or when I search the command history with up/down.

When I connect remotely, zsh is fast, but nu has a considerable delay/lag that makes it unusable.

I tried with ITerm2, Alacritty, MacOS Terminal and Kitty.

Though with ITerm2 I have the same slow behaviour locally, with the other 3 terminal apps I only have the issue with nu on a remote location.

I tried changing the shell_integration config section, but that did not seem to change the behaviour.

How to reproduce

  1. open zsh locally, type a long command. Keep the left key pressed
  2. do the same with nu, locally
  3. do the same with zsh, on a remote ssh machine
  4. do the same with nu, on a remote ssh machine

Expected behavior

I expected nu to work equally fast in both locations.

Configuration

key value
version 0.99.1
major 0
minor 99
patch 1
branch
commit_hash
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.82.0 (f6e511eec 2024-10-15)
rust_channel stable-x86_64-unknown-linux-gnu
cargo_version cargo 1.82.0 (8f40fc59f 2024-08-21)
build_time 2024-11-12 13:54:21 +01:00
build_rust_channel release
allocator mimalloc
features default, sqlite, trash
installed_plugins

Metadata

Assignees

No one assigned

    Labels

    line editorIssues related to reedlineneeds-triageAn issue that hasn't had any proper lookperformanceWork to make nushell quicker and use less resources

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions