diff options
author | Steve Bennett <steveb@workware.net.au> | 2021-01-21 07:14:17 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2021-01-23 12:49:12 +1000 |
commit | 43e71ad476f4c96815baf973f27e4c8006ebb33f (patch) | |
tree | 04fc8a0ed069e86c2c721a0580e240024215aa33 /jim_tcl.txt | |
parent | 8f3e1ce80995c42a200db98fbfe02e4a60771c26 (diff) | |
download | jimtcl-43e71ad476f4c96815baf973f27e4c8006ebb33f.zip jimtcl-43e71ad476f4c96815baf973f27e4c8006ebb33f.tar.gz jimtcl-43e71ad476f4c96815baf973f27e4c8006ebb33f.tar.bz2 |
history: Add support for history keep
Fixes #191
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Reported-by: D. Bohdan <dbohdan@dbohdan.com>
Diffstat (limited to 'jim_tcl.txt')
-rw-r--r-- | jim_tcl.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jim_tcl.txt b/jim_tcl.txt index 6b25338..14cee1e 100644 --- a/jim_tcl.txt +++ b/jim_tcl.txt @@ -60,6 +60,7 @@ Changes since 0.80 3. String and list indexes now accept integer expressions (<<_string_and_list_index_specifications,STRING AND LIST INDEX SPECIFICATIONS>>) 4. `loop` can now omit the start value 5. Add the `xtrace` command for execution trace support +6. Add `history keep` Changes between 0.79 and 0.80 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5332,6 +5333,9 @@ the remaining subcommands do nothing. +*history add* 'line'+:: Adds the given line to the history buffer. ++*history keep* '?count?'+:: + Set or return the maximum history size. Defaults to 100. + +*history save* 'filename'+:: Saves the current history buffer to the given file. |