fix: Try with unbuffer
All checks were successful
Release / Release (push) Successful in 41s

This commit is contained in:
Jan K9f 2025-06-20 07:52:55 +02:00
commit 6de2ed43cf
Signed by: jank
GPG key ID: 22BEAC760B3333D6
2 changed files with 53 additions and 7 deletions

View file

@ -106,13 +106,13 @@ program
program.command("init").action(() => {
console.log(`${CLI_NAME}() {
command ${CLI_NAME} "$@" | while IFS= read -r line; do
if [[ $line == __EXEC__* ]]; then
eval "\${line#__EXEC__}"
else
echo "$line"
fi
done
unbuffer command ${CLI_NAME} "$@" | while IFS= read -r line; do
if [[ $line == __EXEC__* ]]; then
eval "\${line#__EXEC__}"
else
echo "$line"
fi
done
}`);
});