diff options
author | fvogel <fvogelnew1@free.fr> | 2017-08-12 19:45:14 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-08-12 19:45:14 (GMT) |
commit | c8c5f3de21786ee81047e190e06a3e7f59d5ebcc (patch) | |
tree | baf19ae73c69bd258287a9a68ebc2609a60b35b2 /library/console.tcl | |
parent | 1364a529c92c6e64af2308174eb56b09001e5fa7 (diff) | |
download | tk-c8c5f3de21786ee81047e190e06a3e7f59d5ebcc.zip tk-c8c5f3de21786ee81047e190e06a3e7f59d5ebcc.tar.gz tk-c8c5f3de21786ee81047e190e06a3e7f59d5ebcc.tar.bz2 |
Fix [3295446]: Make the insertion cursor always visible when browsing console history. Patch from Andy Goth.bug_3295446
Diffstat (limited to 'library/console.tcl')
-rw-r--r-- | library/console.tcl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/console.tcl b/library/console.tcl index ba68ccc..355a43b 100644 --- a/library/console.tcl +++ b/library/console.tcl @@ -286,6 +286,7 @@ proc ::tk::ConsoleHistory {cmd} { } .console delete promptEnd end .console insert promptEnd $cmd {input stdin} + .console see end } next { incr HistNum @@ -302,6 +303,7 @@ proc ::tk::ConsoleHistory {cmd} { } .console delete promptEnd end .console insert promptEnd $cmd {input stdin} + .console see end } reset { set HistNum 1 |