812 Commits
Author SHA1 Message Date
Jason Shirk a25cef506f Add cursor position as out parameter to GetBufferState. 2013-06-26 19:06:22 -07:00
Jason Shirk d8d9295abd Add api to get token/ast buffer state. 2013-06-19 22:37:57 -07:00
Jason Shirk b7fc7bd191 Merge branch 'master' of https://github.com/lzybkr/PSReadLine 2013-05-24 23:12:46 -07:00
Jason Shirk 4a1341732c Merge pull request #7 from oising/master
consolekeyinfo converter work + tests
2013-05-24 23:12:10 -07:00
Jason Shirk a17d05d644 Add Get-PSReadlineKeyHandler
To make it easier to see what keys are bound, you can use the command Get-PSReadlineKeyHandler.

The command Set-PSReadlineKeyHandler also adds support for binding Ctrl-X prefixed commands in Emacs mode.
2013-05-24 19:56:34 -07:00
oising 53714c087f implemented consolekeyinfo converter; added unit tests; tweaked parameters on set-psreadlinehandler 2013-05-24 15:54:07 -04:00
Jason Shirk 99c6bd650d Fix some more end of buffer problems. 2013-05-19 09:04:40 -07:00
Jason Shirk da207fb3b9 Add function keys. 2013-05-19 09:02:59 -07:00
Jason Shirk d2dcfa37a6 Fix a couple small completion bugs 2013-05-15 12:42:26 -07:00
Jason Shirk 198c53ef19 Fix problem with ShowCompletions at end of buffer
When the cursor was at the end of the buffer, ShowCompletions would cause an exception trying to move the cursor outside the buffer.

Fixed by writing an explicit newline - done using the native Console api so it isn't redirected by the test framework.
2013-05-15 00:15:16 -07:00
Jason Shirk bc9404b208 Don't insert garbage for non-printable keys.
Function keys and Meta keys should not insert anything if the key is not bound to any action.
2013-05-13 23:28:35 -07:00
Jason Shirk 28e07fdb43 Initial checkin. 2013-05-12 23:52:15 -07:00