gui-cs / TerminalGuiDesigner

Forms Designer for Terminal.Gui (aka gui.cs)
MIT License
423 stars 28 forks source link

'Type to edit' broken when pressing a hotkey letter for another button #277

Closed tznind closed 8 months ago

tznind commented 8 months ago

This bug manifests after the recent key changes made in v2. Should be relatively easy fix since we have global key handler it shouldn't get let through for further processing

  1. Add a button with hotkey 'O'
  2. Add a new button
  3. Press backspace to delete 'Heya' and type 'abcdefgo'

Expect button text to change to 'abcdefgo'

Bug is that when you type o the focus jumps to the other button