10 Commits
Author SHA1 Message Date
spaette 486388c59f Fix some typos in this repository (#3547) 2023-01-23 14:22:59 -08:00
Dongbo Wang b76883665b Add BasicScrollingConsole to support test cases for scrolling up scenarios (#3081) 2021-12-14 15:14:03 -08:00
Dongbo Wang 355bd0894a Update 'CreateCharInfoBuffer' to support continuous 'NextLineToken' (#2880) 2021-09-20 17:14:45 -07:00
Dongbo Wang 9f786b3397 Fix three issues with the menu completion (#1946)
1. Fix menu completion to work with the predictive list view (fix #1935 -- regression introduced in 2.2.0-beta1)
2. Fix menu completion to clear lines properly when the menu top changes on re-drawing (regression introduced in 2.2.0-beta1)
3. Fix how `RightArrow`, `LeftArrow`, `UpArrow`, and `DownArrow` navigate in the menu view (enhancement)
2020-11-13 11:20:51 -08:00
Dongbo Wang 288e3c09eb Clear the previous menu rendering correctly (#1073) 2019-09-27 22:47:36 -07:00
Jason Shirk a7af25aa37 Stop dispatching on ConsoleKeyInfo (#831)
There are likely issues introduced by this PR,
but I'm merging for a new Beta so this code gets more testing.

* Introduce PSKeyInfo type alias
* Explicit conversions b/w ConsoleKeyInfo and PSKeyInfo
* Change tests to use actual ConsoleKeyInfo data
* Add fr-FR keyboard layout tests
* Add KeyInfo-ru-RU-windows.json (#839)

All impossible without Shift shortcuts labeled as "Investigate: true"
Alt+Spacebar tracked by windows itself

* Add KeyInfo for Polish (Programmers) layout on Windows and Linux (#870)

On Windows *Alt+Spacebar* is hijacked by Windows
On Linux any *Alt+F1-12* combination was not detected
2019-03-20 16:14:05 -07:00
Jason Shirk bc40ae6f6b Remove uses of CSI # S / ScrollConsoleScreenBuffer (#790)
This fixes some weird issues in WSL and some Linux terminals.

This also works around a Windows 1809 Console bug for the Ctrl+l binding
to clear the screen by using the same escape sequence that bash uses.

Fix #724
2018-11-04 19:12:52 -08:00
Steve Lee f92ecfe085 Enable building with dotnet cli for non-Windows (#692)
* Enable building with PSCore6
* Fix tests to work on non-Windows
* Added clipboard capability for non-Windows
2018-09-29 22:17:03 -07:00
srdubya 8e7900b486 Fixed CompleteMenu in vi insert mode (#656)
Fix by exiting insert mode to clear the GroupEdit and then re-entering insert mode.

Fixes #651
2018-03-25 10:14:52 -07:00
Jason Shirk f1705e9bb2 Switch from MSTest to xUnit, enable tests in AppVeyor (#600) 2017-12-15 11:59:57 -08:00