You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ponysay under TTY always truncates terminal output. It breaks my rc scripts which are printing server status info above pony. It's especially annoying if you consider that bare TTY in production environment is only accessed when something bad happens so truncating log makes already bad mood even worse, no matter how much stress ponies in terminal release.
Whereas there is option to force enable truncate under non-TTY there's no option to disable it under TTY. I tried explicitly setting set -x PONYSAY_TRUNCATE_HEIGHT 0 but it doesn't work.
Also ponysay seems to improperly reset color palete on TTY (it's actually good tho because some machines have really dark colors in fish shell so ponysay makes highlighted output actually readable, that's tbh why I use it on TTY in the first place)
The text was updated successfully, but these errors were encountered:
The 'no color reset' is unintentional but I think the infopage mention a workaround that maybe can be applied to other programs too.
Now the truncation maybe @maandree could enlightenment us if that intentional or not (I think the variable ignoring is a bug) since he write the python script.
I did the PR #263 but as I mentioned in it BSD and ToaruOS dont look like have those files, for the other side a simple solution should be the old if linux else a fallback,
Truncating work using the exposed stty as talked on #254 but aparently set -x PONYSAY_TRUNCATE_HEIGHT 0 got override somewhere.
I'm waiting for comments on #254 about using TIOCGWINSZ against os.get_terminal_size() and hope probably we can find if was stty the culprint on the overriding or just the issue is on how ponysay detect the environments.
Ponysay under TTY always truncates terminal output. It breaks my rc scripts which are printing server status info above pony. It's especially annoying if you consider that bare TTY in production environment is only accessed when something bad happens so truncating log makes already bad mood even worse, no matter how much stress ponies in terminal release.
Whereas there is option to force enable truncate under non-TTY there's no option to disable it under TTY. I tried explicitly setting
set -x PONYSAY_TRUNCATE_HEIGHT 0
but it doesn't work.Also ponysay seems to improperly reset color palete on TTY (it's actually good tho because some machines have really dark colors in fish shell so ponysay makes highlighted output actually readable, that's tbh why I use it on TTY in the first place)
The text was updated successfully, but these errors were encountered: