forked from elves/elvish
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a
&null
option to from-lines
and to-lines
This change, combined with other changes to `edit:command-history`, makes feeding its output into `fzf` extremely fast. Which makes it a practical alternative to using the builtin Ctrl-R binding for searching command history. It's also just generally useful to have efficient ways to process "lines" that are null terminated rather than newline (or cr-nl on Windows). Resolves elves#1070 Related elves#1053
- Loading branch information
1 parent
4717deb
commit 3caadd7
Showing
4 changed files
with
50 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters