nushell / nushell/reedline

Suspending the buffer editor causes nushell to hang

Open
#1,054 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
818
Forks
249
Avg merge
4d 14h
Merged PRs (30d)
30

Description

Bug report form
  • I have done a basic search of the issue tracker to find any existing issues that are similar.
  • I have checked that my version is at least the latest stable release available via my installation method.
Describe the bug

When we open a buffer editor using ctrl+o, and then suspend the editor. Result: nushell also gets suspended.

How to reproduce

I don't know how to reproduce with other editors, but for vim/nvim there is the steps:

> $env.config.buffer_editor = 'vim' # set editor to vim
> blabla # type something
         # run ctrl+o to open buffer editor
         # run ctrl+z to suspend the editor
Expected behavior

I expect nu to not get suspended with the buffer editor as well. Only the editor should be suspended.

Configuration
key value
version 0.112.2
major 0
minor 112
patch 2
branch
commit_hash 4ad14b36e565a58adb883ed603fa82bc5cb49389
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.92.0 (ded5c06cf 2025-12-08)
rust_channel 1.92.0-x86_64-unknown-linux-gnu
cargo_version cargo 1.92.0 (344c4567c 2025-10-21)
build_time 2026-04-13 13:19:47 +06:00
build_rust_channel release
allocator standard
features network, plugin, rustls-tls, sqlite, trash-support
installed_plugins
experimental_options example=false, reorder-cell-paths=true, pipefail=true, enforce-runtime-annotations=false, native-clip=false, cell-path-types=false

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the buffer-editor path triggered by ctrl+o and the suspend behavior when vim or nvim receives ctrl+z. Reproduce the issue on Linux with the configuration shown, then inspect how the editor and reedline handle suspension; done means suspending the external editor no longer suspends Nushell as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.