summaryrefslogtreecommitdiffstats
path: root/library/console.tcl
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-10-18 20:26:42 (GMT)
committerhobbs <hobbs>2001-10-18 20:26:42 (GMT)
commitb161502be2acfffb1883b32271462e500c832d5c (patch)
treefdbf83a8dc285810b787487d9e15b2bfc3334f17 /library/console.tcl
parent0f8507d5a6f732f53c05d724b4658b05a3a322c6 (diff)
downloadtk-b161502be2acfffb1883b32271462e500c832d5c.zip
tk-b161502be2acfffb1883b32271462e500c832d5c.tar.gz
tk-b161502be2acfffb1883b32271462e500c832d5c.tar.bz2
* library/console.tcl (ConsoleOutput): fixed undefined widget
argument.
Diffstat (limited to 'library/console.tcl')
-rw-r--r--library/console.tcl7
1 files changed, 4 insertions, 3 deletions
diff --git a/library/console.tcl b/library/console.tcl
index 6375648..a9ad8a0 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.13 2001/10/09 23:11:02 hobbs Exp $
+# RCS: @(#) $Id: console.tcl,v 1.14 2001/10/18 20:26:42 hobbs Exp $
#
# Copyright (c) 1995-1997 Sun Microsystems, Inc.
# Copyright (c) 1998-2000 Ajuba Solutions.
@@ -548,9 +548,10 @@ proc ::tk::ConsoleInsert {w s} {
# string - The string to be displayed.
proc ::tk::ConsoleOutput {dest string} {
- .console insert output $string $dest
+ set w .console
+ $w insert output $string $dest
::tk::console::ConstrainBuffer $w $::tk::console::maxLines
- .console see insert
+ $w see insert
}
# ::tk::ConsoleExit --