Thanks!

tmux capture-pane -p -S 50 -E -50 -J >! /tmp/temp.txt

Above does the magic! :)


--
Kaushal Modi

On Thu, Jan 15, 2015 at 4:53 PM, Thomas Adam <tho...@xteddy.org> wrote:

> On 15 January 2015 at 21:49, Kaushal <kaushal.m...@gmail.com> wrote:
> > But to begin with, I am unable to find a way to copy the last few lines
> of
> > the current pane history using a script.
>
> capture-pane
>
> -- Thomas Adam
>
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to