Skip to content

Commit

Permalink
The console window should not pop up when the initial command is some…
Browse files Browse the repository at this point in the history
…thing

other than [console show].
  • Loading branch information
sbron committed Oct 21, 2022
1 parent 260cea2 commit 19b59a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/unixconsole.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ namespace eval tk::unixconsole {
variable conimpl
$consoleInterp eval [list source $conimpl]
$consoleInterp eval {
# Initially hide the console window
wm withdraw .
# Trigger cleanup when the console is destroyed
bind Console <Destroy> +conDelete
# addition by Schelte Bron ([sbron]):
# Allow functional pasting with the middle mouse button
Expand Down

0 comments on commit 19b59a7

Please sign in to comment.