terminal/src/cascadia/WpfTerminalTestNetCore/WpfTerminalTestNetCore
Mike Griese db518c0b06
Fix 3 different bugs in the WPF control (#6464)
* [wpf] WM_KEYUP crashes on x64 #6444
  - Turns out that doing the `(uint)lParam` cast worked fine for the
    keydowns, because the value of lParam usually didn't have super
    high-order bits set. That's not the case for keyups, where the 30th
    bit is _always_ set. This is fixed by explicitly getting the byte
    with the scancode in it.
* [wpf] WM_KEYUP generates wrong value in Win32 input mode #6445
  - This was fixed by basically the same thing as the above.
* [wpf] WPF control crashes on startup trying to render cursor #6446
  - This was a regression from #6337. I forgot to initialize the brush
    used to paint the cursor, because the UWP version always uses color
    (but the WPF one relies on the text foreground color).
* Also adds a minor change to the WPF test app, so that the user can
  actually exit `win32-input-mode`.

* #6337 regressed #6446 
* #6309 regressed the other two.

Closes #6444
Closes #6445
Closes #6446
2020-06-11 18:05:43 +00:00
..
Properties wpf: add a .NET Core WPF Test project for the WPF Control (#6441) 2020-06-09 13:41:42 -07:00
app.manifest WpfTest: Add an x86/Win32 build, make DPI aware (#6455) 2020-06-10 21:08:16 +00:00
App.xaml wpf: add a .NET Core WPF Test project for the WPF Control (#6441) 2020-06-09 13:41:42 -07:00
App.xaml.cs wpf: add a .NET Core WPF Test project for the WPF Control (#6441) 2020-06-09 13:41:42 -07:00
AssemblyInfo.cs wpf: add a .NET Core WPF Test project for the WPF Control (#6441) 2020-06-09 13:41:42 -07:00
MainWindow.xaml wpf: add a .NET Core WPF Test project for the WPF Control (#6441) 2020-06-09 13:41:42 -07:00
MainWindow.xaml.cs Fix 3 different bugs in the WPF control (#6464) 2020-06-11 18:05:43 +00:00
WpfTerminalTestNetCore.csproj WpfTest: Add an x86/Win32 build, make DPI aware (#6455) 2020-06-10 21:08:16 +00:00