Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upMake PSReadLine more portable #561
+3,929
−2,710
Conversation
lzybkr
added some commits
Aug 1, 2017
lzybkr
added some commits
Sep 5, 2017
lzybkr
merged commit 9d592b8
into
master
Oct 16, 2017
This was referenced Oct 16, 2017
Closed
This was referenced Oct 31, 2017
lzybkr
deleted the
ansi_render
branch
Nov 12, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
lzybkr commentedOct 16, 2017
All of the changes from PowerShell/PowerShell have been integrated or redone.
All rendering is now down with ANSI escape sequences and the core rendering no longer uses Windows specific data structures or apis.
Custom key binding code was rewritten in an attempt to accommodate platform differences, but we still need some P/Invokes on Windows, t.b.d. on Linux.
The PR includes a few internationalization fixes - cursor placement for CJK, plus improved handling of key bindings for less common keyboard layouts.
One new feature in this PR - tooltips are always displayed unless they don't add anything useful (same as the completion). They are only displayed below the menu instead of the old style which truncated the tooltip.