received. Fixed Bug #438281.
+2001-07-04 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * tkcon.tcl (tkcon): made tkcon console return whatever result it
+ received. Fixed Bug #438281.
+
2001-06-20 Jeff Hobbs <jeffh@ActiveState.com>
TKCON 2.2 RELEASE
if {[catch {open $fn $mode} fid]} {
return -code error "Save Error: Unable to open '$fn' for writing\n$fid"
}
- puts $fid $data
+ puts -nonewline $fid $data
close $fid
}
}
cons* {
## 'console' - passes the args to the text widget of the console.
- uplevel 1 $::tkcon::PRIV(console) $args
+ set result [uplevel 1 $::tkcon::PRIV(console) $args]
::tkcon::ConstrainBuffer $::tkcon::PRIV(console) \
$::tkcon::OPT(buffer)
+ return $result
}
congets {
## 'congets' a replacement for [gets stdin]