Skip to content

Ctrl+C is not working after Ctrl+O and exiting editor #858

Open
@szevzol

Description

@szevzol

Platform e.g. macOS, Windows 10, ...
Windows 10
Version 10.0.19045 Build 19045

Terminal software e.g. gnome-terminal, Apple Terminal.app, ...
wezterm 20240203-110809-5046fc22

I type in a command line, then I press Ctrl+O. This opens up $env.EDITOR, which is nvim in my case.
I exit nvim but I don't want to run the command, I would like to cancel it with Ctrl+C but nothing happens. I have to delete the command to empty the line the press enter.

Steps to reproduce

  1. $env.EDITOR = nvim
  2. type 'ls'
  3. type Ctrl+O
  4. quit nvim
  5. type Ctrl+C

Screenshots/Screencaptures

Very helpful if the display doesn't seem to work

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions