Initial PuTTY support
Update cursor to current mode when moving
Support nested and remote tmux