Ok so the problem only occurs with zsh. If you reproduce the problem inside tmux and then press C-b r (where C-b is your tmux prefix key), does the cursor move to the right place?
On Mon, Apr 22, 2013 at 01:08:54PM +0000, John Long wrote: > On Mon, Apr 22, 2013 at 01:58:33PM +0100, Nicholas Marriott wrote: > > > Ok, but is that behaviour just at the shell prompt, or if you run "cat" > > then do the same, ie you are typing in cat rather than at the shell, > > does the cursor also move wrongly? Eg do: > > > > $ cat > > abcdef<backspace> > > > > Instead of at the shell prompt. > > Yes, I'm sorry, I misunderstood you earlier (face-palm). I tried this now > with and without tmux and backspace works fine in both cases, going > backwards and erasing the characters. > > > I'm trying to work out if this is because tmux is getting the wrong > > thing from zsh, or getting the right thing from zsh but displaying the > > wrong thing for xterm. > > Wondering about this earlier, I switched to bash before invoking tmux and I > had the same issue with backspace going forward and not erasing. > > Thank you. > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users