Commit Graph

644 Commits

Author SHA1 Message Date
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
4e4c500879 Add more to TODO. 2018-01-29 12:46:52 +00:00
0407d847a4 Add to TODO. 2018-01-29 12:44:31 +00:00
6e8d29e9a2 Update TODO. 2017-10-25 12:29:10 +01:00
8f364053ca Add to TODO. 2017-08-30 11:21:20 +01:00
0f708dd6e2 Add to TODO. 2017-08-22 13:02:20 +01:00
237b7a50f4 Update CHANGES and TODO. 2017-08-09 12:48:54 +01:00
a4d2fa1b6d Update TODO. 2017-06-08 17:21:30 +01:00
92d86586b7 Update TODO. 2017-05-31 17:38:34 +01:00
8f990c573c Update TODO. 2017-05-09 22:33:39 +01:00
dde53cfde1 Add to TODO. 2017-04-30 08:23:14 +01:00
accaff8ac0 Remove stuff from TODO. 2017-04-25 14:31:05 +01:00
7934e7a6b5 Notes on target resolution. 2017-04-20 15:40:28 +01:00
f9c7c50a93 Update TODO. 2017-04-20 10:20:42 +01:00
78d707dc83 Add to TODO. 2017-04-20 08:53:03 +01:00
57cb6ef3a2 Add to TODO. 2017-03-21 21:28:37 +00:00
066575fd5a Add to TODO. 2017-03-20 11:50:54 +00:00
2fa16eee53 Change to vim(1) script by Eric Pruitt. 2017-02-27 13:21:04 +00:00
203d604bf7 Add to TODO. 2017-02-17 10:52:40 +00:00
ee7acde149 Update TODO. 2017-02-16 15:06:20 +00:00
c75cced07d Add to TODO. 2017-02-09 14:40:30 +00:00
c54a5d9fb3 Add wchar.h to compat.h, from Koichi Shiraishi. 2017-01-31 12:51:53 +00:00
a5c89a1802 Change around the example .tmux.conf to show some newer features. 2017-01-10 19:26:54 +00:00
d90fa2ec13 Tweak TODO file. 2017-01-09 17:48:30 +00:00
d401340c51 Update TODO. 2016-10-16 20:59:43 +01:00
5d2288b22a Update TODO. 2016-10-13 22:40:20 +01:00
f691d46a16 Update TODO. 2016-10-13 21:14:33 +01:00
b9c95937ed Add to TODO. 2016-06-10 16:38:40 +01:00
c84ed36719 Spelling, from Josh Soref. 2016-06-10 12:47:15 +01:00
20d2a31b40 Update TODO. 2016-05-31 22:13:44 +01:00
2b9f8ae485 Update TODO. 2016-04-30 20:04:41 +01:00
61f231a496 Add to TODO. 2016-04-27 13:10:34 +01:00
b429a00cce Add to TODO. 2016-03-20 08:14:14 +00:00
c3f93e7178 Add to TODO. 2016-02-19 16:45:15 +00:00
2130a07b70 Add to TODO. 2016-02-05 10:08:39 +00:00
3cdb2f0bb7 Add to TODO. 2015-12-03 14:43:24 +00:00
3b83bda29c Add to TODO. 2015-11-25 23:35:24 +00:00
31d880f751 Update the TODO file. 2015-11-14 09:04:13 +00:00
1caebaa49a Add to TODO. 2015-09-23 14:26:53 +01:00
54bd761286 Add BCE to TODO. 2015-09-15 13:57:46 +01:00
02a848d77c It isn't supposed to... 2015-06-08 09:46:14 +01:00
a5c55e4393 Update TODO. 2015-06-07 08:36:03 +01:00
b67db455a8 Update TODO with some items from old SF tickets. 2015-06-04 10:37:39 +01:00
3821ca4917 Update TODO. 2015-06-02 15:16:13 +01:00
acb8248ba6 +. 2015-04-20 08:46:21 +01:00
24c8f523eb +. 2015-04-19 19:40:12 +01:00
aaad44bbe7 +. 2015-04-19 19:34:58 +01:00
b4750e4c35 Add a note about cmd_find_*. 2015-02-09 13:12:25 +00:00
d2c9168954 +. 2014-11-06 23:30:02 +00:00
cddf50b715 Notes for better mouse support. 2014-06-21 19:45:52 +01:00