summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change search-again with vi keys to work like actual vi(1), also somenicm2021-04-011-51/+162
| | | | other fixes. From Aaron Jensen with help from Anindya Mukherjee.
* Missing commas, from Vipul Kumar.nicm2021-04-011-4/+4
|
* Do not exit if cannot write to normal log file, GitHub issue 2630.nicm2021-03-311-7/+8
|
* Add client-detached notification in control mode, from Mohsin Kaleem.nicm2021-03-164-5/+21
|
* Do not crash if there is no item to show command error, from Anindyanicm2021-03-151-3/+8
| | | | Mukherjee.
* Fix so tmux correctly sends the cvvis (cursor very visible) capabilitynicm2021-03-122-16/+30
| | | | | rather than sending it and then immediately undoing it with cnorm. Also turn it off when the cursor shape is changed like xterm.
* Tidy old jobs every hour instead of every 30 seconds.nicm2021-03-113-28/+36
|
* Add an "absolute-centre" alignment to use the centre of the total spacenicm2021-03-115-36/+204
| | | | instead of only the available space. From Magnus Gross in GitHub issue 2578.
* Add split-window -Z to start the pane zoomed, GitHub issue 2591.nicm2021-03-1114-52/+66
|
* Allow cursor to be just after match if copying, GitHub issue 2602.nicm2021-03-091-3/+6
|
* Copy mode improvements from Anindya Mukherjee:nicm2021-03-092-79/+55
| | | | | | | | | | - Fix word and word-end for wrapped lines. - Fix copying of selection end on wrapped lines. - Fix wrapped word selection edge case. - Update select-line to respect wrapped lines. - Update window_copy_..._pos() functions to use grid_reader. GitHub issue 2605.
* Do not use NULL active window; also do not leak window name. GitHubnicm2021-03-022-3/+5
| | | | issue 2590 from Chester Liu.
* Drop support for popups where the content is provided directly to tmuxnicm2021-03-0210-321/+108
| | | | | | (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).
* escape quotes and remove some unneccessary Pp; ok nicmjmc2021-03-011-8/+6
|
* There is no need to call del_curterm in the server anymore.nicm2021-03-011-4/+1
|
* Add some text with examples of ; as a separator, GitHub issues 2522 andnicm2021-03-011-2/+65
| | | | 2580.
* Handle NULL term_type.nicm2021-02-271-2/+5
|
* Check session, window, pane in the right order when working out format type.nicm2021-02-261-5/+5
|
* Add a couple of format variables for active and last window index.nicm2021-02-262-5/+35
|
* Correct client_prefix so it returns 1 if in prefix, not 0.nicm2021-02-241-3/+3
|
* expand_paths needs the global environment to be set up, do that first.nicm2021-02-221-7/+7
|
* Fix regex searching with wrapped lines, from Anindya Mukherjee; GitHubnicm2021-02-221-2/+59
| | | | issue 2570.
* Move config file path expansion much earlier, keep the list of pathsnicm2021-02-225-40/+69
| | | | | 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-224-480/+2051
| | | | | | | | 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.
* Move jump commands to grid reader, make them UTF-8 aware, and tidy up,nicm2021-02-224-220/+210
| | | | from Anindya Mukherjee.
* Check return value of chdir() to stop a silly warning with somenicm2021-02-192-10/+10
| | | | compilers, GitHub issue 2573.
* Reduce len when moving past spaces in OSC 11 parameter.nicm2021-02-181-2/+4
|
* Move the call to setupterm() into the client and have it pass thenicm2021-02-175-77/+174
| | | | | | 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.
* Make SGR 6 (rapid blink) the same as SGR 5 (blink) and make SGR 21 tonicm2021-02-151-1/+6
| | | | the same as SGR 4:2, it is an old alternative. GitHub issue 2567.
* Support X11 colour names and some other variations for OSC 10/11, alsonicm2021-02-155-61/+728
| | | | add OSC 110 and 111. GitHub issue 2567.
* Do not care about the server socket closing if exiting anyway.nicm2021-02-122-5/+7
|
* Add a couple of helper functions, and flush imsgs on exit.nicm2021-02-115-40/+72
|
* O_TRUNC is needed in case file exists.nicm2021-02-111-2/+2
|
* Move file handling protocol stuff all into file.c so it can be reusednicm2021-02-114-360/+449
| | | | more easily.
* Use ~/.tmux.conf as an example rather than /etc/passwd, suggested bynicm2021-02-101-6/+6
| | | | deraadt@.
* Do not expand times and #() inside #().nicm2021-02-091-3/+5
|
* Add "pipe" variants of the "copy-pipe" commands which do not copy, fromnicm2021-02-082-10/+80
| | | | Christian Zangl.
* Include "focused" in client flags, from Dan Aloni in GitHub issue 2558.nicm2021-02-081-1/+3
|
* In the end UTF-8 did not become a terminal feature, should not be listednicm2021-02-061-4/+2
| | | | in man page.
* Send Unicode directional isolate characters around horizontal panenicm2021-02-055-12/+32
| | | | | | | | 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.
* Add a -S flag to new-window to make it select the existing window if onenicm2021-02-053-10/+118
| | | | | | | 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@.
* Redraw status line and borders on pane enable/disable, GitHub issue 2554.nicm2021-02-041-4/+12
|
* Fix popup mouse position.nicm2021-02-021-3/+3
|
* article fixes; from eddie yousephjmc2021-02-021-3/+3
|
* Add a no-detached choice to detach-on-destroy which detaches only ifnicm2021-02-013-10/+35
| | | | | there are no other detached sessions to switch to, from Sencer Selcuk in GitHub issue 2553.
* Trim output overwritten by later text or clears completely rather thannicm2021-01-294-213/+234
| | | | | only in a few cases. This means we can better track when a line should wrap. GitHub issue 2537.
* Flush pending output before entering or exiting alternate screen rathernicm2021-01-271-1/+5
| | | | than leaking it, oss-fuzz issue 29959.
* Always resize the original screen before copying when exiting thenicm2021-01-261-19/+24
| | | | alternate screen, GitHub issue 2536.
* Revert clear changes to writing as they don't work properly, betternicm2021-01-221-26/+7
| | | | change to come.
* Add rectangle-on and rectangle-off copy mode commands, GitHub isse 2546nicm2021-01-222-7/+37
| | | | from author at will dot party.