Commit 817a1b2
committed
fix: bind numpad Enter in description field to insert newline
The Tk Text widget's default class binding inserts a newline on <Return>
but not on <KP_Enter> (numpad Enter) on macOS. Add an explicit <KP_Enter>
binding that inserts a newline at the cursor, returning "break" to
prevent double-insertion on platforms where it may already be handled.1 parent ae2b842 commit 817a1b2
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
444 | 448 | | |
445 | 449 | | |
446 | 450 | | |
| |||
913 | 917 | | |
914 | 918 | | |
915 | 919 | | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
916 | 926 | | |
917 | 927 | | |
918 | 928 | | |
| |||
0 commit comments