piper
piper

Reputation: 87

How to use the ↑ key in tcl to display multiple rows of history

I first defined a multi-line function in tcl

tclsh8.5 [~/Desktop]proc myproc {arg1 arg2} {
>    # do something here, e.g.
>    puts [list arg1 $arg1 arg2 $arg2]
>}

When I want to load the history with ↑ key, I found that it can only load one line at a time, and it can't display multiple lines of history at once.

Is there any way to display the entire multi-line history when I click the ↑ key?

Upvotes: 0

Views: 62

Answers (0)

Related Questions