Thomas Adam
d50e47fc4a
Merge branch 'obsd-master'
...
Conflicts:
Makefile
cmd-server-info.c
cmd-start-server.c
2014-01-31 21:39:56 +00:00
nicm
945339b443
Allow replacing each of the many sets of separate foo-{fg,bg,attr}
...
options with a single foo-style option. For example:
set -g status-fg yellow
set -g status-bg red
set -g status-attr blink
Becomes:
set -g status-style fg=yellow,bg=red,blink
The -a flag to set can be used to add to rather than replace a style. So:
set -g status-bg red
Becomes:
set -ag status-style bg=red
Currently this is fully backwards compatible (all *-{fg,bg,attr} options
remain) but the plan is to deprecate them over time.
From Tiago Cunha.
2014-01-28 23:07:09 +00:00
Thomas Adam
bdea2f9eda
Merge branch 'obsd-master'
2013-07-06 11:18:49 +01:00
Nicholas Marriott
7af5fec038
Whitespace nits, from Ben Boeckel.
2013-07-05 14:44:06 +00:00
Thomas Adam
399d7380a5
Merge branch 'obsd-master'
2013-05-31 21:44:42 +01:00
Nicholas Marriott
c231381aa3
Demote the old single-character replacement variables (#S and friends)
...
to aliases of formats. From Tiago Cunha.
2013-05-31 19:56:05 +00:00
Nicholas Marriott
d28a39d01d
Extend jobs to support writing and use that for copy-pipe instead of
...
popen, from Chris Johnsen.
2013-03-25 11:43:01 +00:00
Nicholas Marriott
c519f9a84c
evbuffer_readline returns allocated storage, don't leak it.
2013-03-22 15:55:22 +00:00
Nicholas Marriott
8d59b189cc
No more lint means no more ARGSUSED.
2013-03-22 10:31:22 +00:00
Nicholas Marriott
dd46c95e23
Aargh. Spaces -> tabs.
2013-03-21 16:25:08 +00:00
Nicholas Marriott
6ddb06d372
Extend jobs to support writing and use that for copy-pipe instead of popen,
...
from Chris Johnsen.
2013-03-21 14:24:33 +00:00
Nicholas Marriott
cb6f36655e
evbuffer_readline returns allocated storage, don't leak it.
2013-02-20 23:15:21 +00:00
Nicholas Marriott
c3859d1df1
Add copy-pipe mode command to copy selection and also pipe to a command.
2013-02-19 17:49:53 +00:00
Nicholas Marriott
9d165df18a
No more lint means no more ARGSUSED.
2013-02-17 23:15:38 +00:00
Nicholas Marriott
755d4863c8
Spaces -> tabs.
2013-02-14 12:22:14 +00:00
Nicholas Marriott
28544391f5
Do not leak formats in status_replace.
2013-02-14 12:20:17 +00:00
Nicholas Marriott
06ac4b628d
Add a format client_prefix which is 1 if prefix key has been pressed, used for
...
example #{?client_prefix,X,Y}. Also a few extra server_client_status needed.
2013-02-10 18:58:05 +00:00
Nicholas Marriott
6c53a1ed68
Allow formats in status options.
2013-02-10 18:53:25 +00:00
Thomas Adam
39631edb98
Merge branch 'obsd-master'
...
Sync from OpenBSD.
2012-11-27 18:12:04 +00:00
Nicholas Marriott
93224260ae
Add window-status-last-* options, from Boris Faure.
2012-11-27 13:52:23 +00:00
Tiago Cunha
a432fcd306
Sync OpenBSD patchset 1150:
...
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-11 19:34:16 +00:00
Tiago Cunha
06d27e94b2
Sync OpenBSD patchset 1149:
...
Move a NULL check inside a function, from Tiago Cunha.
2012-07-11 19:30:01 +00:00
Nicholas Marriott
df912e3540
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-10 11:53:01 +00:00
Nicholas Marriott
a3391692ad
Move a NULL check inside a function, from Tiago Cunha.
2012-07-09 09:55:57 +00:00
Tiago Cunha
e45dc6ae59
Sync OpenBSD patchset 1103:
...
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.
2012-05-03 17:12:38 +00:00
Nicholas Marriott
e60f48ab09
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.
2012-04-29 07:33:41 +00:00
Tiago Cunha
6df8953f4f
Sync OpenBSD patchset 1097:
...
Add window-status-separator option, from Thomas Adam.
2012-04-24 16:20:18 +00:00
Nicholas Marriott
e02d1bce98
Add window-status-separator option, from Thomas Adam.
2012-04-23 22:23:14 +00:00
Tiago Cunha
0987d55231
Sync OpenBSD patchset 1057:
...
Check event_initialized before event_del if event may not have been set
up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
2012-03-18 01:59:34 +00:00
Nicholas Marriott
d3c842d367
Check event_initialized before event_del if event may not have been set
...
up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
2012-03-17 18:24:07 +00:00
Tiago Cunha
32a6092f71
Sync OpenBSD patchset 1039:
...
Add A and I keys for vi status line editing.
2012-03-07 13:37:44 +00:00
Tiago Cunha
9d79a56402
Sync OpenBSD patchset 1036:
...
The wlmouse offset should be part of the client, not the server. From
Ailin Nemui.
2012-03-07 13:35:03 +00:00
Nicholas Marriott
30f4c30ca3
Add A and I keys for vi status line editing.
2012-03-04 07:38:11 +00:00
Nicholas Marriott
4b8bb7770f
The wlmouse offset should be part of the client, not the server. From
...
Ailin Nemui.
2012-03-03 08:55:56 +00:00
Tiago Cunha
e4a7cefe0c
Sync OpenBSD patchset 1015:
...
Add an option to move the status line to the top of the screen,
requested by many.
2012-01-29 12:57:01 +00:00
Tiago Cunha
9c1d3046ca
Sync OpenBSD patchset 1013:
...
Terminate strftime buffer properly even if a really long format string
is given, from Tiago Cunha.
2012-01-29 12:52:16 +00:00
Tiago Cunha
c846298747
Sync OpenBSD patchset 1012:
...
Fix memory leak in error path, from Tiago Cunha.
2012-01-29 12:51:43 +00:00
Nicholas Marriott
230d0fbc9e
Add an option to move the status line to the top of the screen,
...
requested by many.
2012-01-29 09:37:02 +00:00
Nicholas Marriott
a7a44bfcd9
Terminate strftime buffer properly even if a really long format string
...
is given, from Tiago Cunha.
2012-01-26 09:05:54 +00:00
Nicholas Marriott
d2d2df1365
Fix memory leak in error path, from Tiago Cunha.
2012-01-26 09:03:09 +00:00
Tiago Cunha
b7551c9193
Sync OpenBSD patchset 1001:
...
Add some trivial additional status line attributes from jwcxz at users
dot sourceforge dot net.
2012-01-20 21:20:35 +00:00
Tiago Cunha
b79189958f
Sync OpenBSD patchset 998:
...
Add space movement keys for vi mode in the status line from Ben Boeckel.
2012-01-20 21:17:18 +00:00
Nicholas Marriott
8cf19ab770
Add some trivial additional status line attributes from jwcxz at users
...
dot sourceforge dot net.
2012-01-20 19:51:28 +00:00
Nicholas Marriott
e6519d3e27
Add space movement keys for vi mode in the status line from Ben Boeckel.
2012-01-20 19:10:29 +00:00
Tiago Cunha
620a87db25
Sync OpenBSD patchset 983:
...
Make M-f and M-b work the same at the command prompt as in copy mode,
pointed out by Romain Francoise.
2011-12-06 18:47:14 +00:00
Nicholas Marriott
2397083f7e
Make M-f and M-b work the same at the command prompt as in copy mode,
...
pointed out by Romain Francoise.
2011-12-01 20:42:31 +00:00
Tiago Cunha
774bffb3c6
Sync OpenBSD patchset 982:
...
Add word movement and editing command for command prompt editing, from
Ben Boeckel.
2011-11-25 13:34:20 +00:00
Tiago Cunha
9ec457575d
Sync OpenBSD patchset 979:
...
Make window_pane_index work the same as window_index, from Ben Boeckel.
2011-11-25 13:30:45 +00:00
Nicholas Marriott
fc5f8804ec
Add word movement and editing command for command prompt editing, from
...
Ben Boeckel.
2011-11-15 23:34:12 +00:00
Nicholas Marriott
57df442916
Make window_pane_index work the same as window_index, from Ben Boeckel.
2011-11-15 23:19:51 +00:00