]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui: allow closing console window with Escape
authorPratyush Yadav <me@yadavpratyush.com>
Fri, 6 Dec 2019 21:46:31 +0000 (03:16 +0530)
committerPratyush Yadav <me@yadavpratyush.com>
Wed, 18 Dec 2019 19:52:53 +0000 (01:22 +0530)
commit1e1ccbfdd3100a1bb656b11f973381ce4b69decf
tree6302dd6fc0f1f161f791024049af403f6c157f47
parent276353004822918d1f45cfc36d0717b878fff600
git-gui: allow closing console window with Escape

This gives users a quick shortcut to close the window. But since the
window can also show commands in progress, closing the window on Escape
can give the perception that the command has been cancelled even though
it hasn't been. So, only enable this binding when the command is done.

Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
lib/console.tcl