-
Notifications
You must be signed in to change notification settings - Fork 232
Delay on start session #504
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
Comments
Additional input: The problem seems to have partly been reported by @oblitum already in November 2017, see #316 (comment):
This seems to summarize my issue almost perfectly. The issue has existed for me for a long time, probably since before November 2017. |
It seems the delay is caused by my shell (zsh), which for some reason gives large delays when starting in a seemingly random way. The issue was related to # Load completion modules
autoload -Uz compinit
# Flush cached completion configuration once every day
if [[ -n ~/.zcompdump(#qN.mh+24) ]]; then
compinit
else
compinit -C
fi |
@lervag I have that same setting as that in my |
Hi, i'm also having this issue with "no previous window" displayed when switching sessions with a keybinding, in my case it seems to happen when sessions are created with tmuxp when another session previously exists, and only if the session has a single window. |
Step 1: Provide a summary of your problem
After starting a session with
tmuxp load <session-name>
, there is a delay of some seconds before the panes accept input.Step 2: Provide tmuxp details
Python version: 3.7.4
tmux version: 2.9a
tmuxp version: 1.5.3
tmux path: /usr/bin/tmux
tmuxp path: /usr/bin/tmuxp
libtmux version: 0.8.2
shell: zsh 5.7.1
output of
tmux show-options -g
:output of
tmux show-window-options -g
:output of
tmuxp freeze <SESSION_NAME>
:Step 3: Describe your environment
Step 4: Describe the problem:
Steps to reproduce:
Create following
yaml
session file (e.g.~/.tmuxp/test.yaml
):Start session with
time tmuxp load test
.Observed Results:
Loading and exiting session takes ~10 seconds.
Expected Results:
Loading and exiting session should be near immediate.
Comment
With some help I might be able to debug this myself. At least I am willing to try. But I would be interested to know if this is immediately reproducable by any of the more experienced devs first.
The text was updated successfully, but these errors were encountered: