-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
feat(control char): add basic control char support #238
feat(control char): add basic control char support #238
Conversation
This looks great. Can you add |
Yep, I will have a try, but i don't know the exactly behavior of |
Actually you know what, I don't think tab is very useful or necessary. People can just just multiple spaces. |
So do I. I just have implemented a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that this works without printf as well (just put the characters in a script). Nice job. Can you document your changes in the manpage (and bump the manpage date to Sep 2021) please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ory acessing', and render at wrong position
…he influenced options and bump date to SEP 2021.
Done, and I'm not good at English, please fix me if there is any unreadable thing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hey, This just doesn't work for me. I even used your exact same example code, and the problem in your first image still shows up. Here's my code:
Here's the info |
@ShadiZade try with Bash? (it works for me) |
@Raymo111 Nope, doesn't work with bash either. |
I'm on the same version of bash. What happens when you run it as a script after adding |
same thing. |
Sorry, not sure then. I copy-pasted your code into a blank bash script and it worked... |
@ShadiZade I think this fix is not included in |
@cmsxbc how come the AUR package is so far behind? P.S. I tried installing i3lock-color-git from the AUR, and it threw me a bunch of errors about the |
@ShadiZade I'm using i3lock-color-git from the AUR and everything works, no errors with the no-verify flag. I haven't created a new release in a year now hence the discrepancy between the packages/releases and self-built ones, I'll spin up a new release next week. |
Very well, thanks for your efforts. One last question: is the linebreak supposed to work in the date string, or only in the greeter text? |
It's supposed to work everywhere. |
Try to fix #138
Description
reproduce
Screenshots/screencaps
before fix.
after fix.
Release notes
Notes: Support basic control chars.(\n \r \b \t)