-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hwatch does not print tab characters #86
Comments
fdehau/tui-rs#98 seems very much related. |
Thanks!
umm... It will take some time to fix this library. 🤔 |
I think the easiest thing to do would be to expand tabs to spaces manually. The cheating way would be to replace tab characters with 4 spaces. A better way would be to print enough spaces so that the horizontal cursor position is a multiple of 8. I think this is what Terminals do something more complicated but I'm not sure how many people would notice the difference. I don't know if there's an easy way to fix it in |
In the case of the tabs command, etc., it seems that the tab size is specified using the terminfo function. |
Implemented in version 0.3.10. Close. |
Works beautifully, thanks! |
Executing
printf "a\tb\n"
prints out something that looks likeHowever,
hwatch 'printf "a\tb\n"'
just showsThe text was updated successfully, but these errors were encountered: