aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
...
| * Add formats to show if pane is the marked pane and if any marked pane is set.nicm2019-05-09
| |
* | Merge branch 'obsd-master'Thomas Adam2019-05-03
|\|
| * Allow panes to be empty (no command), output can be piped to them withnicm2019-05-03
| | | | | | | | split-window or display-message -I.
* | Merge branch 'obsd-master'Thomas Adam2019-04-25
|\|
| * Make options_tostring allocate its result instead of using a stacknicm2019-04-25
| | | | | | | | buffer (needed for something in the future).
* | Merge branch 'obsd-master'Thomas Adam2019-03-29
|\|
| * Free old strings after they have been expanded in format_choose.nicm2019-03-29
| |
* | Merge branch 'obsd-master'Thomas Adam2019-03-28
|\|
| * Expand session and window formats for buffer filters.nicm2019-03-28
| |
* | Merge branch 'obsd-master'Thomas Adam2019-03-19
|\|
| * Add a cursor_character format.nicm2019-03-19
| |
* | Merge branch 'obsd-master'Thomas Adam2019-03-18
|\|
| * Extend the #[] style syntax and use that together with previous formatnicm2019-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes to allow the status line to be entirely configured with a single option. Now that it is possible to configure their content, enable the existing code that lets the status line be multiple lines in height. The status option can now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to configure more than one line. The new status-format array option configures the format of each line, the default just references the existing status-* options, although some of the more obscure status options may be eliminated in time. Additions to the #[] syntax are: "align" to specify alignment (left, centre, right), "list" for the window list and "range" to configure ranges of text for the mouse bindings. The "align" keyword can also be used to specify alignment of entries in tree mode and the pane status lines.
* | Merge branch 'obsd-master'Thomas Adam2019-03-18
|\|
| * Add format variables for the default formats for the various modesnicm2019-03-18
| | | | | | | | | | (tree_mode_format and so on) and add a -a flag to display-message to list variables with values.
* | Merge branch 'obsd-master'Thomas Adam2019-03-18
|\|
| * With force, kill previous job before starting new. Fixes problemnicm2019-03-18
| | | | | | | | reported by Scott Mcdermott in GitHub issue 1627.
| * Copy recursion counter into new formats when looping.nicm2019-03-15
| |
| * Only print format logging when the flag is set, even if also sending to ↵nicm2019-03-15
| | | | | | | | log_debug.
| * The pane and window loops need to pass the window and pane tags whennicm2019-03-15
| | | | | | | | they build their format.
| * Add a -v flag to display-message to show verbose messages as the formatnicm2019-03-15
| | | | | | | | | | | | is parsed, this gives the user a way to debug problems with formats rather than just being confronted with (for example) a blank status line.
| * Add a limit on how far format_expand can recurse.nicm2019-03-14
| |
| * Store the time in the format tree rather than passing it around.nicm2019-03-14
| |
| * Add format flags for start and end window.nicm2019-03-14
| |
* | Merge branch 'obsd-master'Thomas Adam2019-03-14
|\|
| * Add T format modifier like E but also do strftime(3).nicm2019-03-14
| |
| * Accept 0 time as a shorthand for now to format_expand_time.nicm2019-03-14
| |
* | Merge branch 'obsd-master'Thomas Adam2019-03-13
|\|
| * Tweak format_replace logging.nicm2019-03-13
| |
* | Merge branch 'obsd-master'Thomas Adam2019-03-13
|\|
| * Add formats to list sessions, windows or panes.nicm2019-03-13
| |
| * Apply length limits and substitution even to literal formats.nicm2019-03-13
| |
| * Add E: format to expand a format twice (useful to expand the value of annicm2019-03-13
| | | | | | | | option).
| * Make format parsing build the modifiers into a list, standardize hownicm2019-03-13
| | | | | | | | | | arguments are given and allow multiple modifiers on a format (separated by ;).
* | Merge branch 'obsd-master'Thomas Adam2019-03-12
|\|
| * Allow multiple modes to be open in a pane. A stack of open modes is keptnicm2019-03-12
| | | | | | | | | | | | and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is moved to the top as the active mode rather than being opened new.
* | Merge branch 'obsd-master'Thomas Adam2019-03-07
|\|
| * Add a separate mode struct for the active window mode if any.nicm2019-03-07
| |
* | Merge branch 'obsd-master'Thomas Adam2019-03-07
|\|
| * Make adding mode formats a function pointer as well.nicm2019-03-07
| |
* | Merge branch 'obsd-master'Thomas Adam2018-11-19
|\|
| * evbuffer_new and bufferevent_new can both fail (when malloc fails) andnicm2018-11-19
| | | | | | | | return NULL. GitHub issue 1547.
| * Support for windows larger than visible on the attached client. This hasnicm2018-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | been a limitation for a long time. There are 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. The default is currently largest but this may change. 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). The offset of the visible portion of the window is shown in status-right. 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-window -x or -y, and "setw -u window-size" to revert to automatic sizing.. 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 much higher memory use if making a window excessively big. The minimum size is the size required for the current layout including borders. The refresh-client command can be used to pan around a window, -U -D -L -R moves up, down, left or right and -c returns to automatic cursor tracking. The position is reset when the current window is changed.
* | Merge branch 'obsd-master'Thomas Adam2018-09-27
|\|
| * Use same working directory rules for jobs as new windows rather thannicm2018-09-27
| | | | | | | | always starting in home, GitHub issue 1488.
* | Add formats for when window is larger than client, and show offset inNicholas Marriott2018-09-26
| | | | | | | | status-right by default when larger.
* | More of revert.Nicholas Marriott2018-09-26
| |
* | window_printable_flags needs an additional argument.Nicholas Marriott2018-09-25
| |
* | Merge branch 'obsd-master'Thomas Adam2018-08-27
|\|
| * Memory leaks, from Gang Fan in GitHub issue 1453.nicm2018-08-27
| |