Skip to content
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

feedstats string lengths are predicated on each character taking up one column #111

Open
brokkr opened this issue Dec 7, 2017 · 1 comment
Milestone

Comments

@brokkr
Copy link
Owner

brokkr commented Dec 7, 2017

However certain wide unicode characters take up two spaces. Run poca-subscribe on a feed using logographic characters for titles etc. (e.g. http://www.ximalaya.com/album/203355.xml) and the episode title will spill into the RHS.

@brokkr brokkr added the niggle label Dec 7, 2017
@brokkr brokkr added this to the 2.0 milestone May 2, 2021
@brokkr
Copy link
Owner Author

brokkr commented May 2, 2021

https://bugs.python.org/issue12568
https://stackoverflow.com/questions/22225441/display-width-of-unicode-strings-in-python

tl;dr: No inbuilt solutions forthcoming and no good hack ones.

Possible solutions:

  • Swap Graph and text (left, right)
  • Move lines around
  • Greater restrictions on line width

First one's probably best?

@brokkr brokkr added the output label Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant