summaryrefslogtreecommitdiffstats
path: root/library/console.tcl
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-08-12 19:45:14 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-08-12 19:45:14 (GMT)
commitc8c5f3de21786ee81047e190e06a3e7f59d5ebcc (patch)
treebaf19ae73c69bd258287a9a68ebc2609a60b35b2 /library/console.tcl
parent1364a529c92c6e64af2308174eb56b09001e5fa7 (diff)
downloadtk-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.tcl2
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