Commit Graph

2823 Commits

Author SHA1 Message Date
Tiago Cunha
3b990ef6b2 Sync OpenBSD patchset 1053:
Respond to secondary DA requests.
2012-03-18 01:48:04 +00:00
Tiago Cunha
e920fa3e36 Sync OpenBSD patchset 1052:
Fix a warning. Doh.
2012-03-18 01:47:11 +00:00
Tiago Cunha
84207f06b7 Sync OpenBSD patchset 1051:
Add a helper function for enabling an optimization to make some code
clearer.
2012-03-18 01:46:37 +00:00
Tiago Cunha
c7f078dcbc Sync OpenBSD patchset 1050:
Store context off before moving the cursor when wrapping, to fix long
standing bug drawing over the status line.
2012-03-18 01:40:26 +00:00
Tiago Cunha
3893cc17a4 Sync OpenBSD patchset 1049:
Add -P/-F flags to break-pane too, from George Nachman.
2012-03-18 01:38:27 +00:00
Tiago Cunha
4d1c513968 Sync OpenBSD patchset 1048:
Erm, use EL in a way that actually works...
2012-03-18 01:37:26 +00:00
Tiago Cunha
14d6a4ab26 Sync OpenBSD patchset 1047:
Use EL to clear to end of line if possible.
2012-03-18 01:36:49 +00:00
Tiago Cunha
e678ba3943 Sync OpenBSD patchset 1046:
Always remember last cursor position when moving up or down, not just
for if crossing zero length lines. From Itay Perl.
2012-03-18 01:35:39 +00:00
Tiago Cunha
166681eee9 Sync OpenBSD patchset 1045:
Remove some bits leftover from unused backoff code.
2012-03-18 01:33:56 +00:00
Tiago Cunha
1fdac2adf1 Sync OpenBSD patchset 1044:
Add a missing call to window_set_name, from George Nachman.
2012-03-18 01:28:56 +00:00
Tiago Cunha
40b1d64ce7 Sync OpenBSD patchset 1043:
Use a lock file and flock() to serialize server start, avoids problems
when running a bunch of tmux from cron at the same time. Based on a diff
from Tim Ruehsen.
2012-03-18 01:28:10 +00:00
Nicholas Marriott
9b8fc982ec +. 2012-03-16 21:10:39 +00:00
Nicholas Marriott
92a720157b +. 2012-03-16 07:37:19 +00:00
Nicholas Marriott
21c11c7f48 +. 2012-03-12 13:58:11 +00:00
Nicholas Marriott
33fac234c0 Fix trailing \, pointed out by Romain Francoise and a few others. 2012-03-11 23:04:19 +00:00
Tiago Cunha
3307813a07 Sync OpenBSD patchset 1042:
free -> xfree.
2012-03-07 13:40:08 +00:00
Tiago Cunha
3d98adaf91 Sync OpenBSD patchset 1041:
Add -F format to new-window and split-window to use with the -P flag,
from George Nachman.
2012-03-07 13:39:29 +00:00
Tiago Cunha
cf11809cd4 Sync OpenBSD patchset 1040:
Accept hex values as keys, needed for send-keys, based on a diff from
George Nachman.
2012-03-07 13:38:26 +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
e7c7024907 Sync OpenBSD patchset 1038:
Terminate strftime buffer properly and free format string, whoops. From
Tiago Cunha.
2012-03-07 13:36:57 +00:00
Tiago Cunha
3275e9bd5b Sync OpenBSD patchset 1037:
Support "bracketed paste" mode. This adds a -p flag to paste-buffer - if
this is used and the application has requested bracketed pastes, then
tmux surrounds the pasted text by \033[200~ and \033[201~. Applications
like vim can (apparently) use this to avoid, for example, indenting the
text. From Ailin Nemui.
2012-03-07 13:36:19 +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
Tiago Cunha
e4f1fbd008 Sync OpenBSD patchset 1035:
Add move-pane command (like join-pane but allows the same window). Also
-b flag to join-pane and move-pane to place the pane to the left or
above. From George Nachman.
2012-03-03 09:19:40 +00:00
Tiago Cunha
89ab147093 Sync OpenBSD patchset 1034:
Add printf attribute to a couple of functions, from Tim Ruehsen.
2012-03-03 09:17:30 +00:00
Tiago Cunha
95f427c34e Sync OpenBSD patchset 1032:
Allow a single option to be specified to show-options to show just that
option.
2012-03-03 09:16:52 +00:00
Tiago Cunha
e0d2221879 Sync OpenBSD patchset 1031:
Use format for display-message, based on a diff from George Nachman.
2012-03-03 09:14:21 +00:00
Nicholas Marriott
82f4db0d10 ANSIfy function prototypes, from Tim Ruehsen. 2012-03-02 11:23:51 +00:00
Nicholas Marriott
b801118fe5 +book at http://pragprog.com/book/bhtmux/tmux 2012-03-01 17:16:49 +00:00
Nicholas Marriott
a870a596bc +. 2012-02-21 08:56:18 +00:00
Tiago Cunha
88f25bb677 Sync OpenBSD patchset 1030:
Sort some entries, from Ben Boeckel.
2012-02-15 19:32:39 +00:00
Tiago Cunha
290636bc86 Sync OpenBSD patchset 1029:
Add a wrapper function tty_set_size from George Nachman.
2012-02-15 19:32:12 +00:00
Tiago Cunha
3e94fa70f9 Sync OpenBSD patchset 1028:
Don't die if fail to get root directory, from Ben Boeckel.
2012-02-15 19:31:35 +00:00
Tiago Cunha
cfa6ac9161 Sync OpenBSD patchset 1026:
Check for the right return value from sscanf.
2012-02-15 19:30:51 +00:00
Tiago Cunha
6e6e8046ba Sync OpenBSD patchset 1026:
Document option values, particularly that omitting on|off for a flag is
a toggle.
2012-02-15 19:30:17 +00:00
Nicholas Marriott
d7ea1ac847 Update, from Ben Boeckel. 2012-02-15 18:48:52 +00:00
Tiago Cunha
94e46dd724 Sync OpenBSD patchset 1025:
Add -l flag to send-keys to send input literally (without translating
key names). From Frank Terbeck.
2012-02-02 02:01:18 +00:00
Tiago Cunha
c82e06804e Sync OpenBSD patchset 1024:
Move window name changes into wrapper function window_set_name, from
George Nachman.
2012-02-02 02:00:12 +00:00
Tiago Cunha
509a7e8b73 Sync OpenBSD patchset 1023:
Do not change pane when changing window with mouse on status line,
pointed out by Romain Francoise.
2012-02-02 01:58:47 +00:00
Tiago Cunha
98e24b9f70 Sync OpenBSD patchset 1022:
Get client_width and client_height the right way round, from Stephen
Thirlwall.
2012-02-02 01:58:16 +00:00
Tiago Cunha
0fd0030a2a Adjust function name to the portable version. 2012-02-02 01:57:14 +00:00
Tiago Cunha
4bb01c1768 Sync OpenBSD patchset 1021:
Provide defined ways to set the various default-path possibilities: ~
for home directory, . for server start directory, - for session start
directory and empty for the pane's working directory (the default). All
can also be used as part of a relative path (eg -/foo). Also provide -c
flags to neww and splitw to override default-path setting.

Based on a diff from sthen. ok sthen
2012-02-02 01:55:34 +00:00
Tiago Cunha
c2176afe9c Sync OpenBSD patchset 1020:
Add pane id to each pane in layout description (while still accepting
the old form). Based on diff from George Nachman.
2012-01-31 12:03:56 +00:00
Tiago Cunha
6b3988b749 Sync OpenBSD patchset 1019:
id -> ID; ok nicm
2012-01-31 12:03:00 +00:00
Tiago Cunha
896c55291f Sync OpenBSD patchset 1018:
Don't print double spaces in list output.
2012-01-31 12:02:24 +00:00
Tiago Cunha
2ee0d851d9 Sync OpenBSD patchset 1017:
Give each window a unique id, like panes but prefixed with @. Based on
work from George Nachman.
2012-01-31 12:01:43 +00:00
Tiago Cunha
c08a532440 Sync OpenBSD patchset 1016:
Enforce history-limit option when clearing the screen, memory leak
spotted by R I Pienaar.
2012-01-31 11:58:55 +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
e23df3af5a Sync OpenBSD patchset 1014:
Call bufferevent_free before closing file descriptor associated with it
or bugs in $EventMechanism on $OtherOS makes libevent get it's knickers
in a twist. From Dylan Alex Simon.
2012-01-29 12:53:33 +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