From 24cc3626dc811ba28aa39f46b5abde57d61c2118 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 19 Jun 2008 21:45:46 +0000 Subject: [PATCH] Document command-prompt. Tweak TODO. --- TODO | 18 +++--------------- tmux.1 | 9 ++++++++- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/TODO b/TODO index 0bfed32c..d324a6ba 100644 --- a/TODO +++ b/TODO @@ -47,7 +47,6 @@ - get rid of stderr/stdout hacks in log.c - split clients into three RB trees by fd: attached/unattached/dead? or tailqs? what would be fastest per-char? -- multiple paste buffers - window splitting? - if only one arg to switch-window, assume source-index - test on wsvt25, vt100, vt220 @@ -61,29 +60,18 @@ - cfg file improvements - proper per-window options (per-session list of window ranges?) - better mode features: search, back word, forward word, etc -- figure out Linux tcsetattr problem, remove header bodge if unnecessary - flags to centre screen in window - get rid of DEFDATA etc ---- -support window title commands properly: - -\033]0;string\007 -\033]1;string\007 -\033]2;string\007 -\033_string\033\\ - -accept them all, save to window title -option to pass through to xterm window when switching window - -- For 0.4 -------------------------------------------------------------------- - test and fix wsvt25 - clear EOL etc CANNOT rely on term using the current colour/attr and probably should not emulate it doing so - activity/bell should be per-window not per-link? what if it is cur win in session not being watched? -- document status-left/status-right/status-interval/set-titles/command-prompt -- enhance paste buffers. per-session buffers, lots of command love +- document status-left/status-right/status-interval/set-titles +- enhance paste buffers. multiple buffers, per-session buffers, lots of command love - command history for command-prompt. tab completion - configurable error/info display time - tidy up window modes +- support \033_string\033\\ for window title too diff --git a/tmux.1 b/tmux.1 index d3fb1266..ed14c71b 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.39 2008-06-18 16:39:15 nicm Exp $ +.\" $Id: tmux.1,v 1.40 2008-06-19 21:45:46 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -333,6 +333,13 @@ Bind key .Ar key to .Ar command . +.It Xo Ic command-prompt +.Op Fl t Ar target-client +.Xc +Open the command prompt in a client. +This may be used from inside +.Nm +to execute commands interactively. .It Xo Ic copy-mode .Op Fl t Ar target-window .Xc