-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored and strengthened completion system (#52)
* Load default options * fix stupid * Fix clearline after input buffer * Change UNIX newlines with returned newlines in display (more reliable) * Always use original terminal file descriptor for low-level cursor requests, and potentially most other virtual terminal sequences. * Don't code too late in the night * Fix term length * Fix * Add options related to completions * Add option to keep escape sequences in inserted comp values * Add cursor style options for any keymap (set cursor-<keymap> block) * Fix some excess completion hint bugs * Try to enhance support for arbitrary colors in descriptions * Fix comp messages not used * Fix/clean/enhance many details and logic in completions * Fixes and enhancements to alias overflowing. Note done yet: - Bug when no more aliases to show: does not recompute the compound padding. Related, selected highlighting not applied correctly. * New completion generation code, entirely refactored * Fix padding computations * Fix alias detection * Fix alias selection * Fix all display completion stuff. * Reintegrate fuzzy search * Fix fuzzy search highlighting * Multiple fixes to complex completion (quotes/escapes/prefixes) * Fix autosuggest clearing * Cleanup * Lots of cleanup and fixes, still things to do. * Cleanup * Other fixes to display, better support for color * Final fixes to display * Fix sorting * Cleanup
- Loading branch information
Showing
14 changed files
with
829 additions
and
553 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
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
Oops, something went wrong.