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

keter: certain comments shift command structure down one #2

Open
1xch opened this issue Oct 30, 2015 · 0 comments
Open

keter: certain comments shift command structure down one #2

1xch opened this issue Oct 30, 2015 · 0 comments

Comments

@1xch
Copy link
Collaborator

1xch commented Oct 30, 2015

At any point in configuration, indented comments such as:

super + {h,j,k,l}
    echo {hello world, again, thrice, quartered}
    #comment

will cause a shift in commands, i.e. commands will shift to the next down to the next keyset.

This happens in current
https://github.com/thrisp/scpwm/blob/master/keter/config.go#L69, function parseOrders and comment handling, its been an issue.

After looking at it during refactoring after a lengthy shelf time, still not certain how to fix exactly, except do not indent a comment after a key - command order.

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