aboutsummaryrefslogtreecommitdiff
path: root/format.c
Commit message (Collapse)AuthorAge
* Tweak previous - find end of style correctly.nicm2022-06-27
|
* Do not expand single character format aliases inside #[] since theynicm2022-06-27
| | | | interfere with colours. GitHub issue 3239 from Magnus Gross.
* Store time lines are scrolled into history and display in copy mode.nicm2022-06-21
|
* Add pane_start_path to match start_command.nicm2022-05-30
|
* Spacing/style nits.nicm2022-05-30
|
* Add remain-on-exit-format to set text shown when pane is dead.nicm2022-03-08
|
* Add formats for client and server UID and user (for multiuser setups).nicm2022-03-08
|
* Add next_session_id format with the next session ID, GitHub issue 3078.nicm2022-02-22
|
* Add a way to force a colour to RGB and a format to display it.nicm2021-10-25
|
* Add -e flag to set environment for popup, from Alexis Hildebrandt innicm2021-10-11
| | | | GitHub issue 2924.
* Fix some warnings.nicm2021-10-05
|
* Set mouse_x and mouse_y on the status line, GitHub issue 2913.nicm2021-10-05
|
* Do not try to use NULL time values.nicm2021-10-05
|
* A couple more spacing fixes.nicm2021-08-20
|
* Spacing tweaks.nicm2021-08-20
|
* Remove stray spaces after function names.nicm2021-08-20
|
* Evaluate styles with the pane variables.nicm2021-08-12
|
* Do not dereference pane when it is NULL, fixes a crash when creating anicm2021-08-12
| | | | hook from the config, GitHub issue 2820.
* Move hook format setup earlier and add a hook_client, GitHub issue 2809.nicm2021-08-12
|
* Give #() commands a one second grace period where the output is emptynicm2021-07-13
| | | | before telling the user they aren't doing anything. GitHub issue 2774.
* Fix mouse_word format now word-separators has no space and position ofnicm2021-07-08
| | | | menu if too close to the bottom.
* Bump FORMAT_LOOOP_LIMIT and add a log message when hit, GitHub issue 2715.nicm2021-06-10
|
* Fix <= operator.nicm2021-06-10
|
* Fix warnings, from Jan Tache in GitHub issue 2692.nicm2021-06-10
|
* Permit shortcut keys in buffer, client, tree modes to be configured withnicm2021-04-12
| | | | a format; the default remains the line number. GitHub issue 2636.
* Tidy old jobs every hour instead of every 30 seconds.nicm2021-03-11
|
* Drop support for popups where the content is provided directly to tmuxnicm2021-03-02
| | | | | | (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).
* Handle NULL term_type.nicm2021-02-27
|
* Check session, window, pane in the right order when working out format type.nicm2021-02-26
|
* Add a couple of format variables for active and last window index.nicm2021-02-26
|
* Correct client_prefix so it returns 1 if in prefix, not 0.nicm2021-02-24
|
* Move config file path expansion much earlier, keep the list of pathsnicm2021-02-22
| | | | | around rather than freeing later, and add a config_files format variable containing it. Suggested by kn@ a while back.
* There are many format variables now so allocating all the default onesnicm2021-02-22
| | | | | | | | 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.
* Support X11 colour names and some other variations for OSC 10/11, alsonicm2021-02-15
| | | | add OSC 110 and 111. GitHub issue 2567.
* Do not expand times and #() inside #().nicm2021-02-09
|
* Add a -S flag to new-window to make it select the existing window if onenicm2021-02-05
| | | | | | | 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@.
* Trim output overwritten by later text or clears completely rather thannicm2021-01-29
| | | | | only in a few cases. This means we can better track when a line should wrap. GitHub issue 2537.
* Change so that window_flags escapes # automatically which means configsnicm2021-01-20
| | | | | will not have to change. A new format window_raw_flags contains the old unescaped version.
* Use right format for session loop, GitHub issue 2519.nicm2020-12-30
|
* Make synchronize-panes a pane option and add -U flag to set-option tonicm2020-12-15
| | | | unset an option on all panes. GitHub issue 2491 from Rostislav Nesin.
* Make replacement of ##s consistent when drawing formats, whethernicm2020-12-01
| | | | | | followed by [ or not. Add a flag (e) to the q: format modifier to double up #s and use it for the window_flags format variable so it doesn't end up escaping any following text. GitHub issue 2485.
* Change how escaping is processed for formats so that ## and # can benicm2020-11-09
| | | | | used in styles. Also add a 'w' format modifier for the width. From Chas J Owens IV in GitHub issue 2389.
* Add numeric comparisons for formats, from teo_paul1 at yahoo dot com innicm2020-11-02
| | | | GitHub issue 2442.
* Fix a last minute change in previous.nicm2020-10-06
|
* Add a state struct to store working state during format expansionnicm2020-10-06
| | | | | | | instead of modiyfing the format tree. Use this to disable nested job expansion so that the result of #() is not expanded again. Reported by Chas J Owens IV, GitHub issue 2390.
* Fix some warnings, GitHub issue 2382.nicm2020-09-16
|
* Add pane_last format, GitHub issue 2353.nicm2020-08-27
|
* Add n: modifier to get length of a format, also automatically expandnicm2020-08-20
| | | | variable name arguments again if they contain a #{.
* Use xvasprintf not vasprintf.nicm2020-06-23
|
* Add some formats for search in copy mode (search_present, search_match).nicm2020-06-11
| | | | GitHub issue 2268.