Skip to content

Implement EOF - #2

Merged
sophiajt merged 1 commit into
nushell:mainfrom
E3uka:implement-eof
Mar 4, 2021
Merged

sophiajt merged 1 commit into
nushell:mainfrom
E3uka:implement-eof

Conversation

@E3uka

@E3uka E3uka commented Mar 4, 2021

Copy link
Copy Markdown
Contributor

This pull request allows you to exit the repl by pressing Ctrl + d ( or Cmd + d on Mac), this also prints 'exit' in a new line prior to exiting.

This pull request allows you to exit the repl by pressing CTRL + d.
@sophiajt

sophiajt commented Mar 4, 2021

Copy link
Copy Markdown
Contributor

Looks good

@sophiajt
sophiajt merged commit bf416d8 into nushell:main Mar 4, 2021
@E3uka
E3uka deleted the implement-eof branch March 4, 2021 20:13
ysthakur added a commit that referenced this pull request Oct 22, 2025
* Add match_indices field to Suggestion

Make columnar_menu use match indices

Make ide menu use match indices

Add fuzzy completions example

Test style_suggestion

Make doctests in default.rs pass

Highlight entire graphemes

Extract ANSI escapes from strings to apply match highlighting

Fix clippy lint for fuzzy completion example

Shut the typo checker up

Use existing variable `escape`

Copy regex from parse-ansi crate

* replace LazyLock with lazy_static that works with Rust 1.63.0 (#2)

* Homegrown ANSI parser

Fix padding for columnar menu

Highlight substring matches too by default

Simplify (?) columnar menu

* Fix clippy lints after rebase

* Use get_match_indices helper

* Stop using 'fo' because it's a typo? Fo shizzle.

* Use to_string() instead of as_str()

* Style entire suggestion same color

* RESET after suggestion

---------

Co-authored-by: Divanshu Grover <[email protected]>
kronberger-droid pushed a commit to skull-squadron/reedline that referenced this pull request Jun 1, 2026
* Add match_indices field to Suggestion

Make columnar_menu use match indices

Make ide menu use match indices

Add fuzzy completions example

Test style_suggestion

Make doctests in default.rs pass

Highlight entire graphemes

Extract ANSI escapes from strings to apply match highlighting

Fix clippy lint for fuzzy completion example

Shut the typo checker up

Use existing variable `escape`

Copy regex from parse-ansi crate

* replace LazyLock with lazy_static that works with Rust 1.63.0 (nushell#2)

* Homegrown ANSI parser

Fix padding for columnar menu

Highlight substring matches too by default

Simplify (?) columnar menu

* Fix clippy lints after rebase

* Use get_match_indices helper

* Stop using 'fo' because it's a typo? Fo shizzle.

* Use to_string() instead of as_str()

* Style entire suggestion same color

* RESET after suggestion

---------

Co-authored-by: Divanshu Grover <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants