[PATCH 1/2] Fix broken reflowing after insert/delete characters

2014-11-07 Thread Balazs Kezes
Steps to reproduce: 1. Create a vertical split. 2. Assuming we are running bash in the left pane, enter this: echo -e 'xy\e[D\e[@' # or echo -e 'xyz\e[2D\e[P' 3. Make the left pane smaller: tmux resize-pane -L 5 4. Observe the extra newline. This is ugly. This happens because whenever

[PATCH 2/2] Fix broken reflowing for readline prompts

2014-11-07 Thread Balazs Kezes
Steps to reproduce: 1. Create a vertical split. Make the left one quite narrow. 2. Assuming we are running bash in the left pane, enter some text so that it is at least 2-3 lines long. 3. Press home (or C-a) then enter (or escape-# to comment out the line). 4. Make the left pane bigger tmux resi

[tmux:tickets] #165 Patch tmux to utilize kern.proc.cwd sysctl on FreeBSD

2014-11-07 Thread Tiwei Bie
--- ** [tickets:#165] Patch tmux to utilize kern.proc.cwd sysctl on FreeBSD** **Status:** open **Created:** Thu Nov 06, 2014 01:30 PM UTC by Tiwei Bie **Last Updated:** Thu Nov 06, 2014 01:30 PM UTC **Owner:** nobody sysctl kern.proc.cwd has been added in r274167 [1]. This patch utilizes the