diff options
-rw-r--r-- | library/console.tcl | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/library/console.tcl b/library/console.tcl index f8ad8ea..d6a66ea 100644 --- a/library/console.tcl +++ b/library/console.tcl @@ -4,7 +4,7 @@ # can be used by non-unix systems that do not have built-in support # for shells. # -# RCS: @(#) $Id: console.tcl,v 1.7 1999/09/02 17:02:52 hobbs Exp $ +# RCS: @(#) $Id: console.tcl,v 1.8 2000/04/21 04:06:37 hobbs Exp $ # # Copyright (c) 1998-1999 Scriptics Corp. # Copyright (c) 1995-1997 Sun Microsystems, Inc. @@ -76,8 +76,13 @@ proc tkConsoleInit {} { scrollbar .sb -command ".console yview" pack .sb -side right -fill both pack .console -fill both -expand 1 -side left - if {[string equal $tcl_platform(platform) "macintosh"]} { - .console configure -font {Monaco 9 normal} -highlightthickness 0 + switch -exact $tcl_platform(platform) { + "macintosh" { + .console configure -font {Monaco 9 normal} -highlightthickness 0 + } + "windows" { + .console configure -font systemfixed + } } tkConsoleBind .console @@ -467,7 +472,7 @@ proc tkConsoleExit {} { proc tkConsoleAbout {} { global tk_patchLevel tk_messageBox -type ok -message "Tcl for Windows -Copyright \251 1999 Scriptics Corporation +Copyright \251 2000 Scriptics Corporation Tcl [info patchlevel] Tk $tk_patchLevel" |