aboutsummaryrefslogtreecommitdiff
path: root/jim-rlprompt-1.0.tcl
diff options
context:
space:
mode:
authorantirez <antirez>2005-04-05 12:16:47 +0000
committerantirez <antirez>2005-04-05 12:16:47 +0000
commit03247dbf65100f0364025668b3a75f02c54e9586 (patch)
tree99fcb5a18496b50661624921482fa299e9fd5323 /jim-rlprompt-1.0.tcl
parent0b5ec7f323c8eb15c7b2055616c7b7af1e5afd3d (diff)
downloadjimtcl-03247dbf65100f0364025668b3a75f02c54e9586.zip
jimtcl-03247dbf65100f0364025668b3a75f02c54e9586.tar.gz
jimtcl-03247dbf65100f0364025668b3a75f02c54e9586.tar.bz2
minor rlprompt fix.
Diffstat (limited to 'jim-rlprompt-1.0.tcl')
-rw-r--r--jim-rlprompt-1.0.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/jim-rlprompt-1.0.tcl b/jim-rlprompt-1.0.tcl
index 4b353fe..556d0e9 100644
--- a/jim-rlprompt-1.0.tcl
+++ b/jim-rlprompt-1.0.tcl
@@ -23,7 +23,7 @@ proc rlprompt.shell {} {
continue
}
readline.addhistory $line
- set errCode [catch {uplevel #1 $line} err]
+ set errCode [catch {uplevel #0 $line} err]
if {$err ne {}} {
puts $err
}