summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/format.c
AgeCommit message (Collapse)Author
2023-09-08Use DECSLRM and DECFRA only at level 4 rather than checking the terminalNicholas Marriott
id.
2023-08-17Add a session, pane and user mouse range types for the status line andNicholas Marriott
add format variables for mouse_status_line and mouse_status_range so they can be associated with different commands in the key bindings. GitHub issue 3652.
2023-07-10Use a stack for last panes line windows, from Thomas Bertschinger inNicholas Marriott
GitHub issue 3588.
2023-07-03Do not risk writing over the end of the buffer when it ends in #Nicholas Marriott
(because strchr \0 will be non-NULL), reported by Robert Morris in GitHub issue 3610.
2023-06-30Get rid of some warnings with GCC 10, from Thomas Klausner.Nicholas Marriott
2023-05-19Add format for server_sessions, from Magnus Gross.Nicholas Marriott
2023-03-27Add a format to show if there are unseen changes while in a mode, fromNicholas Marriott
Dan Aloni in GitHub issue 3498.
2023-02-07Add an L modifier like P, W, S to loop over clients. Also fix some longNicholas Marriott
lines in tmux(1).
2022-11-04Unescape the string for the literal operator (l:) so special charactersNicholas Marriott
work.
2022-07-19Fix memory leak, from Gabriel Souza Franco.Nicholas Marriott
2022-07-06Support hyperlinks with capture-pane -e and add a mouse_hyperlinkNicholas Marriott
format, GitHub issue 3247 from Jeff Chiang.
2022-06-27Tweak previous - find end of style correctly.Nicholas Marriott
2022-06-27Do not expand single character format aliases inside #[] since theyNicholas Marriott
interfere with colours. GitHub issue 3239 from Magnus Gross.
2022-06-21Store time lines are scrolled into history and display in copy mode.Nicholas Marriott
2022-05-30Add pane_start_path to match start_command.Nicholas Marriott
2022-05-30Spacing/style nits.Nicholas Marriott
2022-03-08Add remain-on-exit-format to set text shown when pane is dead.Nicholas Marriott
2022-03-08Add formats for client and server UID and user (for multiuser setups).Nicholas Marriott
2022-02-22Add next_session_id format with the next session ID, GitHub issue 3078.Nicholas Marriott
2021-10-25Add a way to force a colour to RGB and a format to display it.Nicholas Marriott
2021-10-11Add -e flag to set environment for popup, from Alexis Hildebrandt inNicholas Marriott
GitHub issue 2924.
2021-10-05Fix some warnings.Nicholas Marriott
2021-10-05Set mouse_x and mouse_y on the status line, GitHub issue 2913.Nicholas Marriott
2021-10-05Do not try to use NULL time values.Nicholas Marriott
2021-08-20A couple more spacing fixes.Nicholas Marriott
2021-08-20Spacing tweaks.Nicholas Marriott
2021-08-20Remove stray spaces after function names.Nicholas Marriott
2021-08-12Evaluate styles with the pane variables.Nicholas Marriott
2021-08-12Do not dereference pane when it is NULL, fixes a crash when creating aNicholas Marriott
hook from the config, GitHub issue 2820.
2021-08-12Move hook format setup earlier and add a hook_client, GitHub issue 2809.Nicholas Marriott
2021-07-13Give #() commands a one second grace period where the output is emptyNicholas Marriott
before telling the user they aren't doing anything. GitHub issue 2774.
2021-07-08Fix mouse_word format now word-separators has no space and position ofNicholas Marriott
menu if too close to the bottom.
2021-06-10Bump FORMAT_LOOOP_LIMIT and add a log message when hit, GitHub issue 2715.Nicholas Marriott
2021-06-10Fix <= operator.Nicholas Marriott
2021-06-10Fix warnings, from Jan Tache in GitHub issue 2692.Nicholas Marriott
2021-04-12Permit shortcut keys in buffer, client, tree modes to be configured withNicholas Marriott
a format; the default remains the line number. GitHub issue 2636.
2021-03-11Tidy old jobs every hour instead of every 30 seconds.Nicholas Marriott
2021-03-02Drop support for popups where the content is provided directly to tmuxNicholas Marriott
(which does not have many practical uses) and only support running a program in the popup. display-popup is now simpler and can accept multiple arguments to avoid escaping problems (like the other commands).
2021-02-27Handle NULL term_type.Nicholas Marriott
2021-02-26Check session, window, pane in the right order when working out format type.Nicholas Marriott
2021-02-26Add a couple of format variables for active and last window index.Nicholas Marriott
2021-02-24Correct client_prefix so it returns 1 if in prefix, not 0.Nicholas Marriott
2021-02-22Move config file path expansion much earlier, keep the list of pathsNicholas Marriott
around rather than freeing later, and add a config_files format variable containing it. Suggested by kn@ a while back.
2021-02-22There are many format variables now so allocating all the default onesNicholas Marriott
each time a tree is created is too expensive. Instead, convert them all into callbacks and put them in a static table so they only allocate on demand. The tree remains for the moment for extra (non-default) variables added by for example copy mode or popups. Also reduce expensive calls to localtime_r/strftime. GitHub issue 2253.
2021-02-15Support X11 colour names and some other variations for OSC 10/11, alsoNicholas Marriott
add OSC 110 and 111. GitHub issue 2567.
2021-02-09Do not expand times and #() inside #().Nicholas Marriott
2021-02-05Add a -S flag to new-window to make it select the existing window if oneNicholas Marriott
with the given name already exists rather than failing with an error. Also add a format to check if a window or session name exists which allows the same with other commands. Requested by and discussed with kn@.
2021-01-29Trim output overwritten by later text or clears completely rather thanNicholas Marriott
only in a few cases. This means we can better track when a line should wrap. GitHub issue 2537.
2021-01-20Change so that window_flags escapes # automatically which means configsNicholas Marriott
will not have to change. A new format window_raw_flags contains the old unescaped version.
2020-12-30Use right format for session loop, GitHub issue 2519.Nicholas Marriott