dracula / dracula/tmux

questionable refresh rate

Open
#293 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
856
Forks
368
Avg merge
2m
Merged PRs (30d)
1

Description

to my understanding, setting `tmux set-option -g status-interval $show_refresh` means that the script dracula.sh is supposed to be run every five seconds, please correct me if im wrong.

however, some scripts sleep an additional `$show_refresh` seconds, while others don't.
i don't understand why each script would sleep an additional `$show_refresh` seconds, as this could lead to either the scripts sleep times adding up, leading to a much longer refresh interval than `$show_refresh` seconds. alternatively, it could lead to only some scripts being rate-limited, whilst others refresh as quickly as possible.
i think that the latter may be the case, but i don't understand why.

either way, this leads to unexpected behaviour.
therefore i think that we should either add the sleeping to all scripts, or remove it all-together.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.