repl: select default text on load

This commit is contained in:
ed 2021-09-03 20:48:41 +02:00
parent 83c9843059
commit be32b743c6

View file

@ -1074,7 +1074,9 @@ function repl_load() {
};
getpres();
tb.value = last_repl;
setTimeout(function () {
tb.setSelectionRange(0, tb.value.length, "forward");
}, 10);
}
function repl(e) {
ev(e);