-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On a dumb terminal the table output of keep list
now is unreadable and contains the wrong escape sequences.
#47
Comments
Keep uses a library called terminaltables to produce this table. Thanks for raising the issue! |
When I issue in my dumb terminal the sample from the terminaltables project:
I get the expected output:
So maybe it is related to the way |
Had a quick peek into the code in I've tested both on dumb terminals: The output from AsciiTable is fine, the output of |
Thank you for looking into it. I am okay with AsciiTable. Let me push an update. |
I have made a new release. Can you please try |
Cool! :-) Thx for the quick fix! It sort of works: The issue with dumb terminals is solved and it displays fine for a list of commands with short descriptions. But when I have a description which will wrap in the table I get the following error:
Note: This error seems to be independent of the terminal. It happen with |
They do not have anything for wrapping. Robpol86/terminaltables#5 |
@halloleo I have pushed a fix. Please update and let me know. v2.6.1 |
Yep, work now. Strange that Anyway, thanks for fixing this. :-) |
Awesome! 🎉 |
When using keep on "dump" terminals (
TERM=dumb
) the commandkeep list
produces a table with the wrong escape sequences:Is it possible to fall back to plain ASCII output (as, I think, it was in older versions)? Or force plain ASCII output with a command line option?
The text was updated successfully, but these errors were encountered: