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

Bug: @dracula-fixed-location doesn't accept values with spaces #253

Closed
nbelakovski opened this issue Mar 12, 2024 · 1 comment
Closed

Bug: @dracula-fixed-location doesn't accept values with spaces #253

nbelakovski opened this issue Mar 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nbelakovski
Copy link

Describe the bug

If set @dracula-fixed-location to a location that has spaces in it (i.e. "Bella Coola") it doesn't recognize the space and simply takes the text ahead of the space. I've tried with double quotes and single quotes, as well as trying to insert "%20" instead of a space as well as 'Bella\ Coola'.

It's not clear where it's losing the remainder of the location. get_tmux_option seems to work correctly from testing in a local script. It might get lost in the calling of weather_wrapper.sh or weather.sh.

To Reproduce

Steps to reproduce the behavior:

  1. Set the location, this can be done by +:set -g @dracula-fixed-location "Bella Coola"
  2. Reload .tmux.conf (remove any setting of fixed location from there
  3. rm /tmp/.dracula-tmux-weather-last-exec
  4. Observe the weather widget

Expected behavior

The weather widget should both display the location provided as well as get the right weather.

Screenshots

N/A

System

  • OS: macOS
  • Tmux Version: 3.3a
@nbelakovski nbelakovski added the bug Something isn't working label Mar 12, 2024
@nbelakovski
Copy link
Author

Never mind looks like this is fixed in #246 but not released yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant