Commit d1f939c
committed
gitk: fix arrow keys in input fields with Tcl/Tk >= 8.6
Tcl/Tk 8.6 introduced new events for the cursor left/right keys and
apparently changed the behavior of the previous event.
Let's work around that by using the new events when we are running with
Tcl/Tk 8.6 or later.
This fixes #495
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 5c7b59c commit d1f939c
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2072 | 2072 | | |
2073 | 2073 | | |
2074 | 2074 | | |
2075 | | - | |
| 2075 | + | |
2076 | 2076 | | |
2077 | 2077 | | |
2078 | 2078 | | |
| |||
2562 | 2562 | | |
2563 | 2563 | | |
2564 | 2564 | | |
2565 | | - | |
2566 | | - | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
2567 | 2572 | | |
2568 | 2573 | | |
2569 | 2574 | | |
| |||
12368 | 12373 | | |
12369 | 12374 | | |
12370 | 12375 | | |
| 12376 | + | |
12371 | 12377 | | |
12372 | 12378 | | |
12373 | 12379 | | |
| |||
0 commit comments