dracula/tmux

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

nbelakovski opened this issue · 1 comments

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

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