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
maint
Pratyush Yadav 2019-12-20 01:24:05 +05:30
commit 23cbe427c4
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ method done {ok} {
focus $w.ok
}
}

bind $w <Key-Escape> "destroy $w;break"
}

method _sb_set {sb orient first last} {