Item 3 of 53 Previous | Next

1

Fixed

SHIFT-TAB doesn't work

description

Though http://powertab.codeplex.com/wikipage?title=Tab%20Item%20Selectors#ConsoleList_keymap says that SHIFT-TAB cause the selection to move up, nothing seems to be working.

No files are attached

comments

JasonMArcher wrote Mar 16 at 4:10 AM

Ok, I think I fixed this in change set 709afe437495.

JasonMArcher wrote Mar 16 at 2:55 AM

Thanks for the info. Time for better i18n support.

miau wrote Feb 3 at 3:42 AM

I've read latest source. ( http://powertab.codeplex.com/SourceControl/changeset/view/48f3aced97df#ConsoleLib.ps1 )

State of the shift key is checked by comparing ControlKeyState.ToString() and "ShiftPressed".

I use Japanese version Windows whose code page is 932. At this code page, ControlKeyState.ToString() seems return a number not a string.

PS C:\> chcp 932
現在のコード ページ: 932
PS C:\> $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').ControlKeyState
4522000

PS C:\> chcp 1251
Active code page: 1251
PS C:\> $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').ControlKeyState
ShiftPressed

Using enum values would be better for portability.

PS C:\> chcp 932
現在のコード ページ: 932
PS C:\> $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').ControlKeyState -band [System.Management.Automation.Host.ControlKeyStates]::ShiftPressed
16

PS C:\> chcp 1251
Active code page: 1251
PS C:\> $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown').ControlKeyState -band [System.Management.Automation.Host.ControKeyStates]::ShiftPressed
16

miau wrote Feb 3 at 1:51 AM

I use PowerTab 0.99.6. I'll try the latest source.

JasonMArcher wrote Feb 3 at 12:57 AM

Are you using the latest source or the released Beta?

This works for me in the latest source.