Browse Source

repl fix

master
Julian Noble 2 months ago
parent
commit
492756ec6c
  1. 1
      src/modules/punk/repl-0.1.tm

1
src/modules/punk/repl-0.1.tm

@ -1366,6 +1366,7 @@ proc repl::repl_handler {inputchan prompt_config} {
#fallback - try external executable. Which is a bit ugly
#tput can work on windows too if it's installed e.g from msys2
#but can be *slow* compared to unix e.g 400ms+ vs <2ms on FreeBSD !
set tputcmd [auto_execok tput]
if {$tputcmd ne ""} {
if {![catch {exec {*}$tputcmd cols lines} values]} {

Loading…
Cancel
Save