Skip to content

Control+C and Control+D stop working after closed SSH session with neovim running #11038

@gcoremans

Description

@gcoremans

Fish version: 3.7.1
Terminal: alacritty 0.14.0 (22a44757)
Operating system: Linux valentine 6.12.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 02 Jan 2025 22:52:26 +0000 x86_64 GNU/Linux
SSH version: OpenSSH_9.9p1

Hi, I was editing a file in neovim over SSH on a machine, when I rebooted that machine from another terminal, abruptly closing the SSH session.

This resulted in me being unable to use Control+D to close that terminal or Control+C to clear the line. Here is the output I got:

image

It seems I can consistently reproduce this behavior by doing exactly this (open nvim on remote machine, reboot remote machine on a different terminal, control characters are broken in fish on the local machine). Works with my personal fish config disabled, and I believe it works with a vanilla nvim and bash on the remote machine as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions