]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: fix arrow keys in input fields with Tcl/Tk >= 8.6
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 16 Feb 2016 15:42:06 +0000 (16:42 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 11 Jan 2025 17:17:42 +0000 (18:17 +0100)
commitac75b4c265952e382dbd67018058a853393d4ecd
tree1ac3936a42c801af52d30e0724626c144a882a7d
parentbaaa9d6d8688ac1787e4be6087173c9e4341b162
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 https://github.com/git-for-windows/git/issues/495

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
gitk