Skip to content

"chuck tokens" does not delete trailing space when using slice #1279

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

Open
jmegner opened this issue Feb 23, 2023 · 1 comment
Open

"chuck tokens" does not delete trailing space when using slice #1279

jmegner opened this issue Feb 23, 2023 · 1 comment

Comments

@jmegner
Copy link
Collaborator

jmegner commented Feb 23, 2023

If you have...

a b c
d e f
g h i

... then "chuck two tokens air slice gust" leaves beginning spaces before the c f i. Just "chuck two tokens air" will not leave a space before c. "chuck tokens" should probably have consistent behavior regardless of usage of slice.

Some workarounds:

  • take air slice gust chuck two tokens (take then chuck)
  • pre cap slice sit chuck head (pre then chuck)
@pokey
Copy link
Member

pokey commented Feb 24, 2023

Fwiw the issue is that the "two tokens" modifier first runs on "air" to determine the width of the slice, and then "gust" is only used to figure how many lines downward to extend this fixed-width vertical slice

I would argue that instead we should first run "air slice gust", and then run "two tokens"

See #193 for way more context than you probably want 😂

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

2 participants