Skip to content

Fix linux shell support - #71

Merged
sophiajt merged 1 commit into
nushell:masterfrom
sophiajt:fix_linux
Jun 2, 2019
Merged

sophiajt merged 1 commit into
nushell:masterfrom
sophiajt:fix_linux

Conversation

@sophiajt

@sophiajt sophiajt commented Jun 2, 2019

Copy link
Copy Markdown
Contributor

Add shell support for non-Windows/Linux

@sophiajt
sophiajt merged commit dd5728d into nushell:master Jun 2, 2019
@sophiajt
sophiajt deleted the fix_linux branch June 2, 2019 07:53
ahkrr pushed a commit to ahkrr/nushell that referenced this pull request Jun 24, 2021
* Kickoff testing

* Change interface for insert_char and insert_str

- Renamed insert_char -> insert_char_at
- Renamed insert_str -> insert_str_at, Modified the interface to use
  insertion_point instead of insertion_point.offset
- Added insert_char: this also modifies the insertion_point in addition
  to chaning the buffer
- Added insert_str: this also modifies the insertion_point in addition
  to chaning the buffer

Question: Do we really need insert_char_at and insert_str_at?

* Move backspace and delete to line_buffer

- Rename backspace -> delete_grapheme_left
- Rename delete -> delete_grapheme_right

* Move backspace_word and delete_word to line_buffer

* Move upcasing and lowercasing to line_buffer

* Move swaping operation to line_buffer

* Remove `current_line` and use `get_buffer` instead

* Replace use of `insert_char_at` with `insert_char`

* Replace use of `insert_str_at` with `insert_str`

* Remove redundant setting insertion point to 0
elferherrera pushed a commit to elferherrera/nushell that referenced this pull request Feb 7, 2022
Hofer-Julian pushed a commit to Hofer-Julian/nushell that referenced this pull request Jan 27, 2023
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.

1 participant