summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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-22Move jump commands to grid reader, make them UTF-8 aware, and tidy up,nicm
from Anindya Mukherjee.
2021-02-19Merge branch 'obsd-master' into masterThomas Adam
2021-02-19Check return value of chdir() to stop a silly warning with somenicm
compilers, GitHub issue 2573.
2021-02-18Merge branch 'obsd-master' into masterThomas Adam
2021-02-18Reduce len when moving past spaces in OSC 11 parameter.nicm
2021-02-17Merge branch 'obsd-master' into masterThomas Adam
2021-02-17Merge branch 'obsd-master' into masterThomas Adam
2021-02-17Move the call to setupterm() into the client and have it pass thenicm
results to the server over imsg, means the server does not need to enter ncurses or read terminfo db. Old clients will not work with a new server.
2021-02-16Log missing keys when extended keys is on rather than fatal().nicm
2021-02-16In the end UTF-8 did not become a terminal feature, should not be listednicm
in man page.
2021-02-15Make SGR 6 (rapid blink) the same as SGR 5 (blink) and make SGR 21 tonicm
the same as SGR 4:2, it is an old alternative. GitHub issue 2567.
2021-02-15OSC 11 test.Nicholas Marriott
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-12Do not care about the server socket closing if exiting anyway.nicm
2021-02-11Add a couple of helper functions, and flush imsgs on exit.nicm
2021-02-11O_TRUNC is needed in case file exists.nicm
2021-02-11Move file handling protocol stuff all into file.c so it can be reusednicm
more easily.
2021-02-10Restore utf8proc bits that went missing, GitHub issue 2564.Nicholas Marriott
2021-02-10Merge branch 'obsd-master' into masterThomas Adam
2021-02-10Use ~/.tmux.conf as an example rather than /etc/passwd, suggested bynicm
deraadt@.
2021-02-09Merge branch 'obsd-master' into masterThomas Adam
2021-02-09Do not expand times and #() inside #().nicm
2021-02-08Merge branch 'obsd-master' into masterThomas Adam
2021-02-08Add "pipe" variants of the "copy-pipe" commands which do not copy, fromnicm
Christian Zangl.
2021-02-08Merge branch 'obsd-master' into masterThomas Adam
2021-02-08Include "focused" in client flags, from Dan Aloni in GitHub issue 2558.nicm
2021-02-06Merge branch 'obsd-master' into masterThomas Adam
2021-02-06In the end UTF-8 did not become a terminal feature, should not be listednicm
in man page.
2021-02-05Merge branch 'obsd-master' into masterThomas Adam
2021-02-05Send Unicode directional isolate characters around horizontal panenicm
borders if the terminal support UTF-8 and an extension terminfo(5) capability "Bidi" is present. On terminals with BiDi support (ie, VTE) this seems to be enough to display right-to-left text acceptably enough to be usable (with some caveats about the mouse position). Requested by and with help from Mahmoud Elagdar in GitHub issue 2425.
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-02-05Add compat clock_gettime for older macOS. GitHub issue 2555.Nicholas Marriott
2021-02-04Merge branch 'obsd-master' into masterThomas Adam
2021-02-04Redraw status line and borders on pane enable/disable, GitHub issue 2554.nicm
2021-02-02Merge branch 'obsd-master' into masterThomas Adam
2021-02-02Fix popup mouse position.nicm
2021-02-02Merge branch 'obsd-master' into masterThomas Adam
2021-02-02article fixes; from eddie yousephjmc
2021-02-01Merge branch 'obsd-master' into masterThomas Adam
2021-02-01Add a no-detached choice to detach-on-destroy which detaches only ifnicm
there are no other detached sessions to switch to, from Sencer Selcuk in GitHub issue 2553.
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-27Merge branch 'obsd-master' into masterThomas Adam
2021-01-27Flush pending output before entering or exiting alternate screen rathernicm
than leaking it, oss-fuzz issue 29959.
2021-01-26Merge branch 'obsd-master' into masterThomas Adam
2021-01-26Always resize the original screen before copying when exiting thenicm
alternate screen, GitHub issue 2536.
2021-01-22Merge branch 'obsd-master' into masterThomas Adam
2021-01-22Merge branch 'obsd-master' into masterThomas Adam
2021-01-22Revert clear changes to writing as they don't work properly, betternicm
change to come.