zsh-workers
 help / color / mirror / code / Atom feed
From: Frank Terbeck <ft@bewatermyfriend.org>
To: zsh-workers@zsh.org
Subject: PATCH: _tmux: another update
Date: Tue,  9 Feb 2010 17:10:17 +0100	[thread overview]
Message-ID: <1265731817-21578-1-git-send-email-ft@bewatermyfriend.org> (raw)

Tmux's development moving forward, trying to keep up...
This time, attach-session learned the `-r' flag and there is now
a new window option called `alternate-screen', which allows you
to disable the smcup/rmcup alternate screen behaviour inside tmux.

Regards, Frank
---
 Completion/Unix/Command/_tmux |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux
index eae7b18..30e395e 100644
--- a/Completion/Unix/Command/_tmux
+++ b/Completion/Unix/Command/_tmux
@@ -155,6 +155,7 @@ function _tmux-attach-session() {
 
     args=(
         '-d[Detach other clients attached to target session]'
+        '-r[Put the client into read-only mode]'
         '-t[Choose a target session]:target session:__tmux-sessions'
     )
     _arguments ${args}
@@ -1256,6 +1257,7 @@ function __tmux-option-guard() {
     else
         options=(
             'aggressive-resize:DESC:on off'
+            'alternate-screen:DESC:on off'
             'automatic-rename:DESC:on off'
             'clock-mode-colour:__tmux-colours'
             'clock-mode-style:DESC:12 24'
@@ -1436,6 +1438,7 @@ function __tmux-window-options() {
     local -a tmux_window_options
     tmux_window_options=(
         'aggressive-resize:Aggressively resize windows'
+        'alternate-screen:Allow alternate screen feature to be used'
         'automatic-rename:Attempt to automatically rename windows'
         'clock-mode-colour:Set clock colour'
         'clock-mode-style:Set clock hour format (12/24)'
-- 
1.7.0.rc2


                 reply	other threads:[~2010-02-09 16:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1265731817-21578-1-git-send-email-ft@bewatermyfriend.org \
    --to=ft@bewatermyfriend.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).