From 492756ec6c8994371e9f70781f81e0cb31ffd154 Mon Sep 17 00:00:00 2001 From: Julian Noble Date: Thu, 26 Sep 2024 03:37:59 +1000 Subject: [PATCH] repl fix --- src/modules/punk/repl-0.1.tm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/punk/repl-0.1.tm b/src/modules/punk/repl-0.1.tm index 528a7e22..a3f2de10 100644 --- a/src/modules/punk/repl-0.1.tm +++ b/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]} {