Re: Don't wrap the cursor in tmux in copy mode

2016-01-30 Thread Michal Mazurek
On 14:45:12, 27.01.16, Nicholas Marriott wrote: > Hi > > tmux copy mode is not meant to work like vi, it is meant to work like > emacs, but emacs does do this so we can change it. > > However, your diff is wrong. It prevents the cursor moving back when it > is at 0,0 _on screen_. Here is a fixed

Re: Don't wrap the cursor in tmux in copy mode

2016-01-27 Thread Nicholas Marriott
Hi tmux copy mode is not meant to work like vi, it is meant to work like emacs, but emacs does do this so we can change it. However, your diff is wrong. It prevents the cursor moving back when it is at 0,0 _on screen_. But if there is more than one screen worth of history, a left at 0,0 on scree

Don't wrap the cursor in tmux in copy mode

2016-01-26 Thread Michal Mazurek
If the cursor is in position 0, 0 in copy mode, and the left arrow is pressed, the cursor position is wrapped to the end of line. A similar situation occurs at the last position and the right arrow. The following patch prevents that, and makes the behaviour more consistent with other software, such