Commit 001be00
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 386563c commit 001be00
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2234 | 2234 | | |
2235 | 2235 | | |
2236 | 2236 | | |
2237 | | - | |
| 2237 | + | |
2238 | 2238 | | |
2239 | 2239 | | |
2240 | 2240 | | |
| |||
2732 | 2732 | | |
2733 | 2733 | | |
2734 | 2734 | | |
2735 | | - | |
2736 | | - | |
| 2735 | + | |
| 2736 | + | |
| 2737 | + | |
| 2738 | + | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
2737 | 2742 | | |
2738 | 2743 | | |
2739 | 2744 | | |
| |||
12734 | 12739 | | |
12735 | 12740 | | |
12736 | 12741 | | |
| 12742 | + | |
12737 | 12743 | | |
12738 | 12744 | | |
12739 | 12745 | | |
| |||
0 commit comments