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

Can't confirm font size #28

Open
cprn opened this issue Oct 30, 2016 · 1 comment
Open

Can't confirm font size #28

cprn opened this issue Oct 30, 2016 · 1 comment

Comments

@cprn
Copy link

cprn commented Oct 30, 2016

Hi, I use Manjaro-i3. After few days I'm trying to configure fonts but when I run bmenu -> 3 Set font then choose a font and type in the size, I cannot confirm it. Tried enter - does nothing, escape - same, even tried insert - it's the only one that gives an output:

Wrong. Press any key and try again

How do I confirm the font size?

@cprn
Copy link
Author

cprn commented Oct 31, 2016

The problem lies in /usr/bin/appearance-menu function numberinput:

277     while true; do
278         read -s -n 1 schar
...
284         $'\n')   #Enter
285             break
286             ;;

You have to check for empty character instead to be compatible with all terminals:

'')   #Enter
    break
    ;;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant