Micah Cowan wrote:
> This is a code-only patch. I'll submit a separate one for the manual.
> 
> This patch eliminates "output" (or "more") mode, which is used to view
> command output within an attached tmux client. It's the mode you use
> when you type <prefix> ? to get a list of bindings.

Another caveat: as before with output mode, by design, triggering
multiple output-producing commands will simply append their output to
the copy-mode buffer. Nicholas liked this behavior, so I left it in.

However, not so good, is that this is true even if you use an
output-producing command while using the "normal" copy-mode, to view the
terminal history: it will actually _modify_ the terminal history,
appending the output. Probably not what's wanted. To avoid this, just
add a check at the top of window_copy_vadd to bail out if data->backing
== &wp->base (this will result in effectively ignoring output-producing
commands while in "real" copy mode - is that ok?). I'd supply an updated
diff, but I imagine Nicholas'll have other things he'll want adjusted in
the patch, so I'll wait to hear about those.

-- 
Micah J. Cowan
http://micah.cowan.name/

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to