Commit Graph

148 Commits

Author SHA1 Message Date
a82f14c7b2 Merge branch 'master' into sixel 2022-08-28 13:43:07 -07:00
01c4919f5f Merge branch 'obsd-master' 2022-06-30 16:37:18 +01:00
d6306b634e Add an ACL list for users connecting to the tmux socket. Users may be forbidden
from attaching, forced to attach read-only, or allowed to attach read-write. A
new command, server-access, configures the list. tmux gets the user using
getpeereid(3) of the client socket. Users must still configure file system
permissions manually.
2022-04-06 14:28:50 +01:00
742c063473 Merge branch 'master' into sixel 2022-04-01 10:14:15 +01:00
fc7f1e7acb Add support for systemd socket activation (where systemd creates the Unix
domain socket for tmux rather than tmux creating it). Build with
--enable-systemd. From Julien Moutinho in GitHub issue 3119.
2022-03-28 08:42:13 +01:00
ebd2c58593 Merge branch 'master' into sixel 2021-10-07 13:19:48 +01:00
3be44313aa Next is 3.4. 2021-09-15 14:07:42 +01:00
6ac09aa47c Disable a couple of warnings on macOS. 2021-08-25 08:36:51 +01:00
d723466df2 Pick default-terminal from the first of tmux-256color, tmux, screen-256color,
screen that is available on the build system.
2021-07-14 11:03:19 +01:00
c03b57465b Add different command historys for different types of prompts ("command",
"search" etc). From Anindya Mukherjee.
2021-05-03 07:39:32 +01:00
3c86fa2ad0 Add -Wno-format-y2k. 2021-01-18 11:14:37 +00:00
d936fde7ef Makefile.am: add grid-reader.c
Add grid-reader.c to Makefile.am so it's included for compilation.
2020-12-24 22:22:10 +00:00
3eb1519bd7 Scaffold for oss-fuzz, from Sergey Nizovtsev. 2020-11-09 16:44:39 +00:00
72c46aa15e Add support for Haiku, from David Carlier. GitHub issue 2453. 2020-11-09 09:00:41 +00:00
5ee4d991b6 xterm-keys has been on by default for 5 years and all other modern terminals
use these key sequences by default. Merge the code into the main tty and input
tree processing (convering the latter to use a tree rather than a table at the
same time) and make the option a no-op.
2020-05-15 10:31:54 +01:00
a61cbf1c33 Add a customize mode where options may be browsed and changed, includes adding
a brief description of each option. Bound to "C" by default.
2020-05-08 19:10:09 +01:00
d9fa122fd2 Do not want -O0 by default. 2020-04-29 15:21:15 +01:00
b06235c345 Improve command prompt completion:
- Show a menu with completions if there are multiple.

- Don't complete argument stuff (options, layouts) at start of text.

- For -t and -s, if there is no : then complete sessions but if there is a :,
  show a menu of all windows in the session rather than trying to complete the
  window name which is a bit useless if there are duplicates.

Lots of scope for being more sophisticated left here.
2020-04-29 13:56:10 +01:00
f87be8d052 Add XDG_CONFIG home to the configuration search paths. 2020-04-23 17:27:39 +01:00
c706aadf52 Merge branch 'obsd-master' 2020-04-20 17:42:29 +01:00
8a57d14f4b Merge branch 'obsd-master' 2020-03-26 11:11:37 +00:00
3a741aacd1 Merge branch 'sixel-passthrough' into sixel 2020-01-30 09:11:01 +00:00
685eb381de Fix for version changes. 2020-01-28 11:28:30 +00:00
dd3c72f132 Merge branch 'master' into sixel 2019-12-18 20:24:26 +00:00
7922f4ee7b Merge branch 'obsd-master' 2019-12-12 14:33:47 +00:00
1a0e5fe933 Merge branch 'master' into sixel 2019-12-10 16:34:11 +00:00
15d7e564dd Add ~/.config/tmux/tmux.conf to the default search path for configuration files
(in Makefile.am, so portable tmux only).
2019-12-10 16:31:01 +00:00
49f2f0a8f1 Store images, currently at most 10. 2019-12-05 00:02:55 +00:00
e24acc0b5c Simple SIXEL parse and modify API. 2019-11-28 12:43:00 +00:00
9a476c5f29 Fix "make ctags", GitHub issue 1888. 2019-09-08 21:42:26 +01:00
5e9757b30b Merge branch 'obsd-master' 2019-06-14 15:51:09 +01:00
bf2cf33fc6 Add yacc(1) bits. 2019-05-23 13:04:41 +01:00
75aeb733f2 Merge branch 'obsd-master' 2019-05-23 13:02:27 +01:00
aa13bd4016 Merge branch 'obsd-master' 2019-05-10 22:10:38 +01:00
5489796737 Merge branch 'obsd-master' 2019-04-27 20:09:07 +01:00
e7827f8bc2 Remove duplicate entry. 2019-04-18 14:16:19 +01:00
3c1f0cfc34 Merge branch 'obsd-master' 2019-04-18 14:08:13 +01:00
5ece386cdf Break new window and pane creation common code from various commands and
window.c into a separate file spawn.c.
2019-04-07 13:01:03 +01:00
962f255ee8 Merge branch 'obsd-master' 2019-03-18 21:24:49 +00:00
8e24b0bb3e Makefile.am: Add space between -f and argument
Required for some (older) aek instance -- namely NetBSD.
2018-09-04 13:13:32 +01:00
641191ab20 Support for windows larger than the client.
This adds two new options, window-size and default-size, and a new
command, resize-window.

The force-width and force-height options, and the session_width and
session_height formats have been removed.

The new window-size option tells tmux how to work out the size of
windows: largest means it picks the size of the largest session,
smallest the smallest session (similar to the old behaviour) and
manual means that it does not automatically resize
windows. aggressive-resize modifies the choice of session for largest
and smallest as it did before.

If a window is in a session attached to a client that is too small,
only part of the window is shown. tmux attempts to keep the cursor
visible, so the part of the window displayed is changed as the cursor
moves (with a small delay, to try and avoid excess redrawing when
applications redraw status lines or similar that are not currently
visible).

Drawing windows which are larger than the client is not as efficient
as those which fit, particularly when the cursor moves, so it is
recommended to avoid using this on slow machines or networks (set
window-size to smallest or manual).

The resize-window command can be used to resize a window manually. If
it is used, the window-size option is automatically set to manual for
the window (undo this with "setw -u window-size"). resize-window works
in a similar way to resize-pane (-U -D -L -R -x -y flags) but also has
-a and -A flags. -a sets the window to the size of the smallest client
(what it would be if window-size was smallest) and -A the largest.

For the same behaviour as force-width or force-height, use
resize-width -x or -y.

If the global window-size option is set to manual, the default-size
option is used for new windows. If -x or -y is used with new-session,
that sets the default-size option for the new session.

The maximum size of a window is 10000x10000. But expect applications
to complain and higher memory use if you make a window that big. The
minimum size is the size required for the current layout including
borders.

This change allows some code improvements, most notably that since
windows can now never be cropped, that code can be removed from the
layout code, and since panes can now never be outside the size of the
window, window_pane_visible can be removed.
2018-08-20 15:22:14 +01:00
5c0ce192ed +README.ja. 2018-07-04 13:45:40 +01:00
1076a2e26c Merge branch 'obsd-master'
Conflicts:
	cmd-pipe-pane.c
	proc.c
	tmux.c
	window.c
2017-07-12 13:43:08 +01:00
61ed6425bd Move FAQ online and do not ship TODO. 2017-06-08 13:29:36 +01:00
f17ecaa495 Merge branch 'obsd-master'
Conflicts:
	Makefile.am
	cfg.c
	server-client.c
2017-05-31 15:56:13 +01:00
93062ad099 Fix after merge 2017-04-21 09:29:22 +01:00
22e594fcea Merge branch 'obsd-master'
Conflicts:
	Makefile.am
	pty.c
2017-04-21 09:25:07 +01:00
aebbb15fe2 Turn on debug if $VERSION is master rather than commenting and uncommenting. 2017-04-20 12:06:39 +01:00
e87d808594 Remove coverage and profile flags. 2017-03-22 21:59:43 +00:00
c57039bc3d Can shorten these by using LIBOBJ. 2017-03-22 19:22:32 +00:00