summaryrefslogtreecommitdiffstats
path: root/format.c
AgeCommit message (Collapse)Author
2021-07-08Merge branch 'obsd-master' into masterThomas Adam
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-05-19Bump FORMAT_LOOOP_LIMIT and add a log message when hit, GitHub issue 2715.Nicholas Marriott
2021-05-17Er, fix it properly.Nicholas Marriott
2021-05-17Fix <= operator.Nicholas Marriott
2021-05-03Fix warnings, from Jan Tache in GitHub issue 2692.Nicholas Marriott
2021-04-12Merge branch 'obsd-master' into masterThomas Adam
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-11Merge branch 'obsd-master' into masterThomas Adam
2021-03-11Tidy old jobs every hour instead of every 30 seconds.nicm
2021-03-02Merge branch 'obsd-master' into masterThomas Adam
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-27Merge branch 'obsd-master' into masterThomas Adam
2021-02-27Handle NULL term_type.nicm
2021-02-27Merge branch 'obsd-master' into masterThomas Adam
2021-02-26Check session, window, pane in the right order when working out format type.nicm
2021-02-26Merge branch 'obsd-master' into masterThomas Adam
2021-02-26Add a couple of format variables for active and last window index.nicm
2021-02-24Merge branch 'obsd-master' into masterThomas Adam
2021-02-24Correct client_prefix so it returns 1 if in prefix, not 0.nicm
2021-02-22Merge branch 'obsd-master' into masterThomas Adam
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-22Merge branch 'obsd-master' into masterThomas Adam
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-17Merge branch 'obsd-master' into masterThomas Adam
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-09Merge branch 'obsd-master' into masterThomas Adam
2021-02-09Do not expand times and #() inside #().nicm
2021-02-05Merge branch 'obsd-master' into masterThomas Adam
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-29Merge branch 'obsd-master' into masterThomas Adam
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-20Merge branch 'obsd-master' into masterThomas Adam
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-30Merge branch 'obsd-master' into masterThomas Adam
2020-12-30Use right format for session loop, GitHub issue 2519.nicm
2020-12-15Merge branch 'obsd-master' into masterThomas Adam
2020-12-15Make synchronize-panes a pane option and add -U flag to set-option tonicm
unset an option on all panes. GitHub issue 2491 from Rostislav Nesin.
2020-12-01Merge branch 'obsd-master' into masterThomas Adam
2020-12-01Make replacement of ##s consistent when drawing formats, whethernicm
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.
2020-11-09Merge branch 'obsd-master'Thomas Adam
2020-11-09Change how escaping is processed for formats so that ## and # can benicm
used in styles. Also add a 'w' format modifier for the width. From Chas J Owens IV in GitHub issue 2389.
2020-11-02Merge branch 'obsd-master'Thomas Adam
2020-11-02Add numeric comparisons for formats, from teo_paul1 at yahoo dot com innicm
GitHub issue 2442.
2020-10-06Merge branch 'obsd-master'Thomas Adam
2020-10-06Fix a last minute change in previous.nicm
2020-10-06Add a state struct to store working state during format expansionnicm
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.