I have written code that can reflow text in a pane to suit a new width. It
can be induced manually via the "reflow-pane" command, or automatically on
resize by setting the "reflow" window option. Of course, automatic
reflowing is disabled by default. See below for a pull request.
The following changes since commit 2ca8b7f3593ec5a88c9f56a43f5076800957a0db:
Merge branch 'obsd-master' (2013-01-17 22:14:18 +0000)
are available in the git repository at:
g...@github.com:rpwoodbu/tmux.git reflow
for you to fetch changes up to df6f6960cb469bf5a5f6332697186afd1d568ab5:
Implement reflow-pane and reflow window option. (2013-01-27 16:44:49
-0500)
----------------------------------------------------------------
Richard Woodbury (1):
Implement reflow-pane and reflow window option.
Makefile.am | 1 +
cmd-reflow-pane.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++
cmd-select-layout.c | 3 +++
cmd.c | 1 +
grid.c | 52
+++++++++++++++++++++++++++++++++++++++++++++++++++
notify.c | 1 +
options-table.c | 5 +++++
tmux.h | 4 ++++
window.c | 25 +++++++++++++++++++++++++
9 files changed, 141 insertions(+)
create mode 100644 cmd-reflow-pane.c
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users