+2004-11-11 Jeff Hobbs <jeffh@ActiveState.com>
+
+ * tkcon.tcl (::tkcon::DeleteTab): allow for exit code to be passed
+ when exit is aliased to DeleteTab. [Bug 1064462]
+ (::tkcon::Expect): graphicsSet isn't valid yet
+
2004-10-10 Jeff Hobbs <jeffh@ActiveState.com>
* tkcon.tcl (::tkcon::Highlight): use ctext for the 'edit' dialog
GotoTab $con
}
-proc ::tkcon::DeleteTab {{con {}} {slave {}}} {
+# The extra code arg is for the alias of exit to this function
+proc ::tkcon::DeleteTab {{con {}} {slave {}} {code 0}} {
variable PRIV
set numtabs [llength $PRIV(tabs)]
} "^\x1b\\\[KS" {
# (smkx,ks) start keyboard-transmit mode
# terminfo invokes these when going in/out of graphics mode
- graphicsSet 1
+ # In graphics mode, we should have no scrollbars
+ #graphicsSet 1
} "^\x1b\\\[KE" {
# (rmkx,ke) end keyboard-transmit mode
- graphicsSet 0
+ # Out of graphics mode, we should have scrollbars
+ #graphicsSet 0
}
}
}