nushell/crates
Yuto e9d4730099
refactor input command (#10150)
close #8074 

I attempted to refactor the "input" command. The reason for this is that
the current implementation of the "input" command lacks consistency for
different options. For instance, some parts use `std::io::stdin` while
others use `crossterm::event::read`.

In this pull request, I have made changes to use crossterm consistently:
- Detection of the -u option is now done using `crossterm`'s
`KeyCode::Char`.
- The current input is displayed when using `crossterm` for input (it
won't be displayed when -s is present).
- Ctrl-C triggers SIGINT. 


# User-Facing Changes

Users can interrupt "input" with ctrl-c.
2023-09-02 21:09:26 +02:00
..
nu_plugin_custom_values Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu_plugin_example Create Record type (#10103) 2023-08-25 07:50:29 +12:00
nu_plugin_formats Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu_plugin_gstat Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu_plugin_inc bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu_plugin_python remove vectorize_over_list from python plugin (#9905) 2023-08-03 16:46:48 +02:00
nu_plugin_query update query web example because wikipedia changed their page (#10173) 2023-08-31 11:00:30 -05:00
nu-cli Make $nu constant (#10160) 2023-09-01 09:18:55 +03:00
nu-cmd-base Move eval_hook to nu-cmd-base (#10146) 2023-08-29 23:46:50 +02:00
nu-cmd-dataframe Keep arrow2 out of basic --workspace build (#10178) 2023-08-31 23:10:11 +02:00
nu-cmd-extra Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu-cmd-lang Allow parse-time evaluation of calls, pipelines and subexpressions (#9499) 2023-08-26 16:41:29 +03:00
nu-color-config Create Record type (#10103) 2023-08-25 07:50:29 +12:00
nu-command refactor input command (#10150) 2023-09-02 21:09:26 +02:00
nu-engine Make $nu constant (#10160) 2023-09-01 09:18:55 +03:00
nu-explore add support for Vim motions in explore (#9966) 2023-08-26 07:48:37 -05:00
nu-glob bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-json bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-parser skip comments and eols while parsing pipeline (#10149) 2023-08-30 13:24:13 -05:00
nu-path Support Termux (#10013) 2023-08-28 09:53:25 +03:00
nu-plugin bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-pretty-hex bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-protocol Make $nu constant (#10160) 2023-09-01 09:18:55 +03:00
nu-std bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-system Make $nu constant (#10160) 2023-09-01 09:18:55 +03:00
nu-table Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
nu-term-grid bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-test-support bump nushell to dev version 0.84.1 (#10101) 2023-08-23 15:23:27 -05:00
nu-utils changed default env file to use $nu.home_path to find home (#10192) 2023-09-02 09:00:10 -05:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

Nushell core libraries and plugins

These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.

Foundational libraries are split into two kinds of crates:

  • Core crates - those crates that work together to build the Nushell language engine
  • Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.

Plugins are likewise also split into two types:

  • Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
  • Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.