diff options
author | Pratyush Yadav <me@yadavpratyush.com> | 2019-12-19 20:54:05 +0100 |
---|---|---|
committer | Pratyush Yadav <me@yadavpratyush.com> | 2019-12-19 20:54:05 +0100 |
commit | 23cbe427c44645a3ab0449919e55bade5eb264bc (patch) | |
tree | 93d8d826eaafbef36e83f1e3685792a8fd337b1e | |
parent | Merge branch 'kk/branch-name-encoding' (diff) | |
parent | git-gui: allow closing console window with Escape (diff) | |
download | git-23cbe427c44645a3ab0449919e55bade5eb264bc.tar.xz git-23cbe427c44645a3ab0449919e55bade5eb264bc.zip |
Merge branch 'py/console-close-esc'
Allow closing console window with Escape once the command is completed.
* py/console-close-esc:
git-gui: allow closing console window with Escape
-rw-r--r-- | lib/console.tcl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/console.tcl b/lib/console.tcl index 1f3248ffd1..bb6b9c889e 100644 --- a/lib/console.tcl +++ b/lib/console.tcl @@ -203,6 +203,8 @@ method done {ok} { focus $w.ok } } + + bind $w <Key-Escape> "destroy $w;break" } method _sb_set {sb orient first last} { |