-
Notifications
You must be signed in to change notification settings - Fork 97
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
timew day
crashes hard on Chinese tags
#499
Comments
@Ravenclaw-OIer Could you supply a minimal reproducing script? From the picture alone, it is difficult to get to the bottom of the problem. |
@lauft Is there away to create a Virtual Environment-like env that I can play around with timew in? |
@Ravenclaw-OIer # Set Timewarriors DB to '/tmp/timewarriordb'
export TIMEWARRIORDB=/tmp/timewarriordb
# Remove anything from previous runs
rm -rf ${TIMEWARRIORDB}
# Make sure 'data' directory exists
mkdir -p ${TIMEWARRIORDB}/data
# Create an empty config file
:> ${TIMEWARRIORDB}/timewarrior.cfg
# Add your reproducing commands here
... |
Hi there, I'm not the original poster, but I stumbled upon this as it is still open and was able to reproduce part of the issue, namely the disappearing (chinese) tags:
Hopefully this helps, if only by having some steps to reproduce. It seemed to be a fair assumption that this affected any wide chars, and testing with cuneiform chars (𒀖) returned the same result - the tag is only visible if all chars in the tag fit the space available. Also, using multiple tags where at least one of them uses wide-chars behaves in a similar fashion: either all tags fit the given space, or no tag is displayed, including the non-wide-char tags. |
This is not reproduced when I used English tags before. Apart from the display being wrecked. Some tags (long ones) went missing.
I'm using timew 1.4.3 on macOS's iTerm terminal.
P.S. changing terminal font & resolution, etc. yields the same result.
The text was updated successfully, but these errors were encountered: