| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
xfree is not particularly helpful, remove it. From Thomas Adam.
|
|
|
|
|
| |
Move a NULL check inside a function, from Tiago Cunha.
|
|
|
|
|
|
| |
Use int not u_char for colours from options since they may have bit 8
set to mark them as 256-colour. Reported by Chris Johnson.
|
|
|
|
|
| |
Add window-status-separator option, from Thomas Adam.
|
|
|
|
|
|
| |
Check event_initialized before event_del if event may not have been set
up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
|
|
|
|
|
| |
Add A and I keys for vi status line editing.
|
|
|
|
|
|
| |
The wlmouse offset should be part of the client, not the server. From
Ailin Nemui.
|
|
|
|
|
|
| |
Add an option to move the status line to the top of the screen,
requested by many.
|
|
|
|
|
|
| |
Terminate strftime buffer properly even if a really long format string
is given, from Tiago Cunha.
|
|
|
|
|
| |
Fix memory leak in error path, from Tiago Cunha.
|
|
|
|
|
|
| |
Add some trivial additional status line attributes from jwcxz at users
dot sourceforge dot net.
|
|
|
|
|
| |
Add space movement keys for vi mode in the status line from Ben Boeckel.
|
|
|
|
|
|
| |
Make M-f and M-b work the same at the command prompt as in copy mode,
pointed out by Romain Francoise.
|
|
|
|
|
|
| |
Add word movement and editing command for command prompt editing, from
Ben Boeckel.
|
|
|
|
|
| |
Make window_pane_index work the same as window_index, from Ben Boeckel.
|
|
|
|
|
|
| |
Option to change status line (message) background when using vi keys and
in command mode. From Ben Boeckel.
|
|
|
|
|
| |
Fix a couple of memory leaks, from marcel partap.
|
|
|
|
|
|
|
|
| |
Make confirm-before prompt customizable with -p option like
command-prompt. Also move responsibility for calling status_replace into
status_prompt_{set,update} and add #W and #P to the default kill-window
and kill-pane prompts. By Tiago Cunha.
|
|
|
|
|
|
| |
Allow the initial context on prompts to be set with the new -I option to
command-prompt. From Tiago Cunha.
|
|
|
|
|
|
| |
Only redraw the status line on command update, not the entire client
(big DOH).
|
|
|
|
|
| |
Provide #h for short hostname (no domain) from Michal Mazurek.
|
|
|
|
|
|
|
|
|
|
|
| |
|Date: 2011/04/18 20:49:05
|Author: nicm
|Branch: HEAD
|Tag: (none)
|Log:
|Add an option (mouse-select-window) which allows the mouse to be used by
|clicking on the status line, written by hsim at gmx dot li.
|
|
|
|
|
|
|
|
|
|
|
| |
|Date: 2011/03/29 20:30:16
|Author: nicm
|Branch: HEAD
|Tag: (none)
|Log:
|Change -t on display-message to be target-pane for the #[A-Z]
|replacements and add -c as target-client.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simplify the way jobs work and drop the persist type, so all jobs are
fire-and-forget.
Status jobs now managed with two trees of output (new and old), rather
than storing the output in the jobs themselves. When the status line is
processed any jobs which don't appear in the new tree are started and
the output from the old tree displayed. When a job finishes it updates
the new tree with its output and that is used for any subsequent
redraws. When the status interval expires, the new tree is moved to the
old so that all jobs are run again.
This fixes the "#(echo %H:%M:%S)" problem which would lead to thousands
of identical persistent jobs and high memory use (this can still be
achieved by adding "sleep 30" but that is much less likely to happen by
accident).
|
|
|
|
|
|
| |
Add a function to create window flags rather than doing the same thing
in two places. From Thomas Adam.
|
|
|
|
|
|
| |
Handle a # at the end of a replacement string (such as status-left)
correctly. Found by Thomas Adam.
|
|
|
|
|
|
|
|
| |
Move the user-visible parts of all options (names, types, limit, default
values) together into one set of tables in options-table.c. Also clean
up and simplify cmd-set-options.c and move a common print function into
option-table.c.
|
|
|
|
|
| |
As a consequence buffer-limit is now a server option.
|
|
|
|
|
| |
than per-client history.
|
|
|
|
|
| |
window. From Thomas Adam.
|
|
|
|
|
|
| |
Having a list of winlinks->alerts for each session is stupid, just store
the alert flags directly in the winlink itself.
|
|
|
|
|
| |
Colour+attribute options for status line alerts, from Alex Alexander.
|
| |
|
|
|
|
|
| |
R Landy.
|
| |
|
| |
|
|
|
|
|
|
| |
Calculate offset correctly, fixes incorrect offset and prevents crash when
status-left is empty. From Micah Cowan.
|
|
|
|
|
| |
Actually use the copy made when no newline is found, from martynas@.
|
|
|
|
|
| |
Add server options to completion as well.
|
|
|
|
|
|
|
| |
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
|
|
|
|
|
|
|
|
|
| |
Eliminate duplicate code and ease the passage for server-wide options by adding
a -w flag to set-option and show-options and making setw and showw aliases to
set -w and show -w.
Note: setw and showw are still there, but now aliases for set -w and show -w.
|
|
|
|
|
|
| |
Tidy up various bits of the paste code, make the data buffer char * and add
comments.
|
|
|
|
|
|
| |
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
the rest to reduce lint output.
|
|
|
|
|
|
| |
Display UTF-8 properly in status line messages and prompt. Cursor handling is
still way off though.
|
|
|
|
|
| |
Remove oldest messages from log when limit is hit, not newest.
|
|
|
|
|
|
| |
Get some brackets in the right place so ## works. Also fix a space in a
comment.
|
|
|
|
|
|
|
| |
Change status line drawing to create the window list in a separate screen and
then copy it into the status line screen. This allows UTF-8 in window names and
fixes some problems with #[] in window-status-format.
|
|
|
|
|
|
|
|
|
|
| |
Two new options, window-status-format and window-status-current-format, which
allow the format of each window in the status line window list to be controlled
using similar # sequences as status-left/right.
This diff also moves part of the way towards UTF-8 support in window names but
it isn't quite there yet.
|
|
|
|
|
|
| |
Tidy up by breaking the # replacement code into a separate function, also add a
few comments.
|
|
|
|
|
|
| |
Don't interpret #() for display-message, it usually doesn't make sense and may
leak commands.
|