As mentioned in https://github.com/tmux/tmux/issues/2059#issuecomment-574839532 , no tmux wrapper is needed to support cursor shape changing. Without this fix, the cursor will change back to block style after using nvim and after a status bar update. With this fix, after exitting from nvim the cursor shape will be fine with the default settings.
This should fix #20 in theory.
Also fixes #11 as now tmux is able to remember the cursor state in each tmux pane. (I can confirm it is fixed in my tmux)
As mentioned in https://github.com/tmux/tmux/issues/2059#issuecomment-574839532 , no tmux wrapper is needed to support cursor shape changing. Without this fix, the cursor will change back to block style after using nvim and after a status bar update. With this fix, after exitting from nvim the cursor shape will be fine with the default settings.