You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tmux Continuum auto-save not working consistently in WSL2 Ubuntu
In WSL2 Ubuntu, tmux-continuum's automatic saving functionality only works when the terminal window is in focus. This appears to be related to how WSL2 handles background process persistence when the terminal isn't actively being used.
Auto-saves only occur when the terminal is in focus/active
When setting interval to 1 minute, a few automatic saves happen and then stop
Long gaps between auto-saves despite short interval setting
Expected behavior
Automatic saves should occur at the configured interval (every 1 or 5 minutes) regardless of whether the terminal window is in focus.
Fixes Tried
Confirmed the plugin is loaded correctly
Verified resurrect directory permissions
Checked process list (ps aux | grep tmux-continuum)
Attempted different save intervals
Manually ran the continuum_save.sh script (works when manually triggered)
Additional Context
This appears to be related to how WSL2 handles background processes. When the terminal isn't in focus, WSL seems to suspend or throttle background processes, preventing tmux-continuum from executing its save script at the configured intervals. The save script will only work if the terminal is in focus when the interval hits.
Question
Is there a way for tmux-continuum to better handle the WSL environment constraints, or could there be documentation added about WSL-specific configurations needed?
The text was updated successfully, but these errors were encountered:
Tmux Continuum auto-save not working consistently in WSL2 Ubuntu
In WSL2 Ubuntu, tmux-continuum's automatic saving functionality only works when the terminal window is in focus. This appears to be related to how WSL2 handles background process persistence when the terminal isn't actively being used.
Environment
The Behavior I observed
Ctrl+b Ctrl+s
work correctlyExpected behavior
Automatic saves should occur at the configured interval (every 1 or 5 minutes) regardless of whether the terminal window is in focus.
Fixes Tried
ps aux | grep tmux-continuum
)continuum_save.sh
script (works when manually triggered)Additional Context
This appears to be related to how WSL2 handles background processes. When the terminal isn't in focus, WSL seems to suspend or throttle background processes, preventing tmux-continuum from executing its save script at the configured intervals. The save script will only work if the terminal is in focus when the interval hits.
Question
Is there a way for tmux-continuum to better handle the WSL environment constraints, or could there be documentation added about WSL-specific configurations needed?
The text was updated successfully, but these errors were encountered: