summaryrefslogtreecommitdiffstats
path: root/format.c
AgeCommit message (Collapse)Author
2023-09-08Use DECSLRM and DECFRA only at level 4 rather than checking the terminalnicm
id.
2023-08-17Add a session, pane and user mouse range types for the status line andnicm
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 innicm
GitHub issue 3588.
2023-07-03Do not risk writing over the end of the buffer when it ends in #nicm
(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.nicm
2023-05-19Add format for server_sessions, from Magnus Gross.nicm
2023-03-27Add a format to show if there are unseen changes while in a mode, fromnicm
Dan Aloni in GitHub issue 3498.
2023-02-07Add an L modifier like P, W, S to loop over clients. Also fix some longnicm
lines in tmux(1).
2022-11-04Unescape the string for the literal operator (l:) so special charactersnicm
work.
2022-07-19Fix memory leak, from Gabriel Souza Franco.nicm
2022-07-06Support hyperlinks with capture-pane -e and add a mouse_hyperlinknicm
format, GitHub issue 3247 from Jeff Chiang.
2022-06-27Tweak previous - find end of style correctly.nicm
2022-06-27Do not expand single character format aliases inside #[] since theynicm
interfere with colours. GitHub issue 3239 from Magnus Gross.
2022-06-21Store time lines are scrolled into history and display in copy mode.nicm
2022-05-30Add pane_start_path to match start_command.nicm
2022-05-30Spacing/style nits.nicm
2022-03-08Add remain-on-exit-format to set text shown when pane is dead.nicm
2022-03-08Add formats for client and server UID and user (for multiuser setups).nicm
2022-02-22Add next_session_id format with the next session ID, GitHub issue 3078.nicm
2021-10-25Add a way to force a colour to RGB and a format to display it.nicm
2021-10-11Add -e flag to set environment for popup, from Alexis Hildebrandt innicm
GitHub issue 2924.
2021-10-05Fix some warnings.nicm
2021-10-05Set mouse_x and mouse_y on the status line, GitHub issue 2913.nicm
2021-10-05Do not try to use NULL time values.nicm
2021-08-20A couple more spacing fixes.nicm
2021-08-20Spacing tweaks.nicm
2021-08-20Remove stray spaces after function names.nicm
2021-08-12Evaluate styles with the pane variables.nicm
2021-08-12Do not dereference pane when it is NULL, fixes a crash when creating anicm
hook from the config, GitHub issue 2820.
2021-08-12Move hook format setup earlier and add a hook_client, GitHub issue 2809.nicm
2021-07-13Give #() commands a one second grace period where the output is emptynicm
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 ofnicm
menu if too close to the bottom.
2021-06-10Bump FORMAT_LOOOP_LIMIT and add a log message when hit, GitHub issue 2715.nicm
2021-06-10Fix <= operator.nicm
2021-06-10Fix warnings, from Jan Tache in GitHub issue 2692.nicm
2021-04-12Permit shortcut keys in buffer, client, tree modes to be configured withnicm
a format; the default remains the line number. GitHub issue 2636.
2021-03-11Tidy old jobs every hour instead of every 30 seconds.nicm
2021-03-02Drop support for popups where the content is provided directly to tmuxnicm
(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.nicm
2021-02-26Check session, window, pane in the right order when working out format type.nicm
2021-02-26Add a couple of format variables for active and last window index.nicm
2021-02-24Correct client_prefix so it returns 1 if in prefix, not 0.nicm
2021-02-22Move config file path expansion much earlier, keep the list of pathsnicm
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 onesnicm
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, alsonicm
add OSC 110 and 111. GitHub issue 2567.
2021-02-09Do not expand times and #() inside #().nicm
2021-02-05Add a -S flag to new-window to make it select the existing window if onenicm
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 thannicm
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 configsnicm
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.nicm