Automatically complete TAB entry in TCL

How can I automatically terminate keywords and directories by entering TAB (or something else) in the TCL shell, tclsh.

+3
source share
1 answer

You need to find a copy of tclreadline or switch to tkcon (a graphical terminal written in Tcl that acts as a console) if using a GUI application is acceptable at all. FWIW, I can definitely recommend tkcon; the only reason I don't use it is because I often work with a custom Tcl assembly that connects to other things.

+4
source

Source: https://habr.com/ru/post/1750227/


All Articles