author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 09 Jan 2015 23:31:59 +0200 | |
changeset 722 | 9bd7ce98c7ce |
parent 635 | 799341bb0ea7 |
permissions | -rw-r--r-- |
# -*- mode: tcl -*- if {$tcl_interactive} { catch { package require tclreadline namespace eval tclreadline { if ([regexp "^(xterm|eterm-color)" "$::env(TERM)"]) { proc prompt1 {} { return "\[0;31m\[1mtcl>\[0m " } proc prompt2 {} { return "\[0;31m...> \[0m" } } { proc prompt1 {} { return "tcl> " } proc prompt2 {} { return "...> " } } } ::tclreadline::Loop } }