Hi, Had the same issues for days, couldn't crack it. Simply did export TERM=linux before executing tmux and it did the trick (don t know why btw).
The issue was only reproductible on xterm other term worked. Regards On Feb 13, 2014 6:09 PM, "Juan Francisco Cantero Hurtado" <i...@juanfra.info> wrote: > On Thu, Feb 13, 2014 at 01:18:38PM +0100, Stefan Sperling wrote: > > On Thu, Feb 13, 2014 at 12:07:00PM +0000, Zé Loff wrote: > > > Hi all > > > > > > I believe nicm's recent changes to src/usr.bin/tmux/tty-keys.c and > > > xterm-keys.c are the cause to what follows, but I have no idea on how > to > > > handle this... > > > > > > Since upgrading to Feb 7 -current, when using an editor inside a tmux > > > session (occurs at least on vim and sc) the text cursor shows some sort > > > of a lag when responding to 'arrow keys'. > > > > I'm seeing this too, in Vim and /usr/bin/vi. The lag is slight, but > causes > > me to end up changing the wrong character when trying to do something > fast. > > E.g. I noticed it when tyring to switch case of a character with ~. > > > > I didn't know the problem was due to tmux. But indeed, in a plain > terminal > > the arrow keys are as responsive as they used to be. > > > > It also made me realise that I do indeed use arrow keys in vi... weird. > > > > I had the same issue. I updated from CVS a few days ago and I can't > reproduce the bug. > > -- > Juan Francisco Cantero Hurtado http://juanfra.info