nushell/crates/nu-cli
Stefan Holderbach 33e1120add
Terminate REPL if not connected to tty input (#6480)
* Terminate REPL if not connected to tty input

If the standard input stream is not a TTY abort the REPL execution.

Solves a problem as the current REPL tries to be IO fault tolerant and
would indefinetely fail when crossterm tries to handle the STDIN.

Fixes nushell/nushell#6452

* Improve the error message
2022-09-05 13:33:54 +02:00
..
src Terminate REPL if not connected to tty input (#6480) 2022-09-05 13:33:54 +02:00
tests Move from source to source-env (#6277) 2022-09-01 08:32:56 +12:00
Cargo.toml Terminate REPL if not connected to tty input (#6480) 2022-09-05 13:33:54 +02:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00