commit | 23cbe427c44645a3ab0449919e55bade5eb264bc | [log] [tgz] |
---|---|---|
author | Pratyush Yadav <me@yadavpratyush.com> | Fri Dec 20 01:24:05 2019 +0530 |
committer | Pratyush Yadav <me@yadavpratyush.com> | Fri Dec 20 01:24:05 2019 +0530 |
tree | 93d8d826eaafbef36e83f1e3685792a8fd337b1e | |
parent | d32e065a9179408db8d29354171258ca183b9443 [diff] | |
parent | 1e1ccbfdd3100a1bb656b11f973381ce4b69decf [diff] |
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
diff --git a/lib/console.tcl b/lib/console.tcl index 1f3248f..bb6b9c8 100644 --- a/lib/console.tcl +++ b/lib/console.tcl
@@ -203,6 +203,8 @@ focus $w.ok } } + + bind $w <Key-Escape> "destroy $w;break" } method _sb_set {sb orient first last} {