-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Cursor style maintained across terminals #11
Comments
Hi @oars Since Tmux is a terminal multiplexer, simply speaking, multiple windows and panes share a single terminal window. So when you switch between pannels, you will meet that the cursor style was not changed, in fact it is the same terminal as we known, unless it is updated by the program in another panel, but luckly the vim or nvim will update the cursor stlyle when you press some keys and auto update by its timer), this plugin will also update the cursor style when you press any key. Thanks and regards |
@jeffreytse can still repro this bug. it always makes me want press an |
Hi @oars , in fact, this is not a bug, since you are using a terminal multiplexer, the zsh can not get the events of changing terminal, it is only one terminal for the virtual terminal emulators (such as iTerm, Xfce, etc.), now there is no a better solution for this issue. If you open a nvim and a zsh in the same time, you will observe that the zsh's cursor will change to block style after waiting for a while, since the nvim will update the cursor style by timer automatically. |
ok. may be tmux has some configuration to generate this event. let me find |
@jeffreytse |
@androidfans I knew this option and this is a configure of |
Hi @androidfans , in fact this issue already was added to my todo list, I will focus on this issue and try to settle it down, any updates I will update here, thanks you for the help. |
yes, it's tmux. |
Neither #11 (comment) nor tmux/tmux#2059 helps though. |
I'm having the same issue. Before using |
With TMux the cursor style is changed across all terminals.
Ideally I would love to be able to have a block style outside of the shell. So even if I was in insert mode with a pipe, when I go into vim for example I'd like it to go back to a block. Similarly if I go to a different terminal I'd like it to be independent, although I don't know how feasible that is.
The text was updated successfully, but these errors were encountered: