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

Sidecar commands doesn't work with tabstops #6

Open
phillco opened this issue Jun 2, 2023 · 0 comments
Open

Sidecar commands doesn't work with tabstops #6

phillco opened this issue Jun 2, 2023 · 0 comments

Comments

@phillco
Copy link
Member

phillco commented Jun 2, 2023

Hat allocation looks to work but commands get wonky.

Consider the following shell file that uses shfmt for formatting, which uses tabs by default:

printcurrent() {
	echo "Current input: $(SwitchAudioSource -c input)"
	echo "Current output: $(SwitchAudioSource -c output)"
}

The hats are correct but "take round" inside either of those shall expansions select the wrong text, most likely offset by the tab stops.

@phillco phillco changed the title Sidecar commands doesn't work with tabs Sidecar commands doesn't work with tabstops Jul 29, 2023
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