aboutsummaryrefslogtreecommitdiff
path: root/examples/jtclsh.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/jtclsh.tcl')
-rw-r--r--examples/jtclsh.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/jtclsh.tcl b/examples/jtclsh.tcl
index 772b327..83d0b0d 100644
--- a/examples/jtclsh.tcl
+++ b/examples/jtclsh.tcl
@@ -8,8 +8,8 @@ package require history
set histfile [env HOME]/.jtclsh
history load $histfile
-# Use the standard Tcl autocompletion
-history completion tcl::autocomplete
+# Use the standard Tcl autocompletion and hint support
+history completion tcl::autocomplete tcl::autohint
set prefix ""
while {1} {
# Read a complete line (script)