A hang occurs when typing `source /dev/stdin`
Open
Nobody has claimed this yet.
A:parser
category:bug
- Dominant language
- Rust
- Stars
- 40.5k
- Forks
- 2.3k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 85
Description
Describe the bug
Nushel hangs when trying to type source /dev/stdin.
To Reproduce
- Open Nushell
- Try to type
source /dev/stdin - It hangs when pressing the last N key and the letter
nis not displayed
Expected behavior
It should not hang.
Screenshots

Configuration (please complete the following information):
Run version | pivot and paste the output to show OS, features, etc.
> version | pivot
# Column0 Column1
────────────────────────────────────────────────────────────────────────────────────────────────────────────────
0 version 0.33.0
1 build_os linux-x86_64
2 rust_version rustc 1.53.0
3 cargo_version cargo 1.53.0
4 pkg_version 0.33.0
5 build_time 2021-07-20 18:48:12
6 build_rust_channel release
7 features clipboard-cli, ctrlc, default, ptree, rustyline, term, trash, uuid, which, zip
8 installed_plugins binaryview, chart bar, chart line, fetch, from bson, from sqlite, inc, match, post,
ps, query json, s3, selector, start, sys, textview, to bson, to sqlite, tree, xpath
Add any other context about the problem here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing source /dev/stdin in Nushell on Linux and inspect the interactive input path where the final n is entered. Trace why input stops responding, then verify that the command no longer hangs and the complete text is displayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100