We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice to truncate beer/brand names based on number of glyphs, as opposed to the number of bytes or runes.
I can't find any decent libraries that can calculate the visual width of strings. Here is a quick and dirty approach we could try:
The text was updated successfully, but these errors were encountered:
We need to extend this to the Menu as well, for beer name, brand name, and style name
Sorry, something went wrong.
We have a lot of code duplication with regards to nicknames and truncation, maybe we ought to consider rewriting it all in a more extensible way.
ryanavella
Successfully merging a pull request may close this issue.
It would be nice to truncate beer/brand names based on number of glyphs, as opposed to the number of bytes or runes.
I can't find any decent libraries that can calculate the visual width of strings. Here is a quick and dirty approach we could try:
The text was updated successfully, but these errors were encountered: