Commit Graph

  • ee0df1b8f8 Tidy old jobs every hour instead of every 30 seconds. nicm 2021-03-11 07:08:18 +00:00
  • 3eb91efba1 Add an "absolute-centre" alignment to use the centre of the total space instead of only the available space. From Magnus Gross in GitHub issue 2578. nicm 2021-03-11 06:41:04 +00:00
  • d98f9f7fe5 Add split-window -Z to start the pane zoomed, GitHub issue 2591. nicm 2021-03-11 06:31:05 +00:00
  • 541872bc57 Merge branch 'obsd-master' into master Thomas Adam 2021-03-09 14:01:24 +00:00
  • 7f87280cd5 Allow cursor to be just after match if copying, GitHub issue 2602. nicm 2021-03-09 13:07:50 +00:00
  • ff77658f27 Merge branch 'obsd-master' into master Thomas Adam 2021-03-09 10:01:19 +00:00
  • 81e5736510 Copy mode improvements from Anindya Mukherjee: nicm 2021-03-09 08:24:09 +00:00
  • 7bef887fd1 Update version. Nicholas Marriott 2021-03-08 08:59:58 +00:00
  • 8995d571d8 Merge branch 'master' into 3.2-rc Nicholas Marriott 2021-03-08 08:59:40 +00:00
  • 0792b65863 Remove compat.h again. Nicholas Marriott 2021-03-08 08:59:13 +00:00
  • de4ac37baa 3.3. Nicholas Marriott 2021-03-02 12:37:52 +00:00
  • b243f1b2ee No sys/queue.h. Nicholas Marriott 2021-03-02 12:37:23 +00:00
  • d06c7197d4 Merge branch 'master' into 3.2-rc Nicholas Marriott 2021-03-02 12:10:14 +00:00
  • fb039d5b82 paths.h is compat. Nicholas Marriott 2021-03-02 12:09:59 +00:00
  • c01251d023 Merge branch 'master' into 3.2-rc Nicholas Marriott 2021-03-02 12:08:34 +00:00
  • 1466b570ee Update CHANGES. Nicholas Marriott 2021-03-02 12:05:15 +00:00
  • 2301bee87d Merge branch 'obsd-master' into master Thomas Adam 2021-03-02 12:01:25 +00:00
  • 81f9a23d25 Do not use NULL active window; also do not leak window name. GitHub issue 2590 from Chester Liu. nicm 2021-03-02 11:00:38 +00:00
  • c44750792a Drop support for popups where the content is provided directly to tmux (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). nicm 2021-03-02 10:56:45 +00:00
  • 48131c6d02 Merge branch 'obsd-master' into master Thomas Adam 2021-03-01 20:01:20 +00:00
  • 9d99dad9e8 Merge branch 'obsd-master' into master Thomas Adam 2021-03-01 17:54:47 +00:00
  • de3a898e8a escape quotes and remove some unneccessary Pp; ok nicm jmc 2021-03-01 17:49:08 +00:00
  • 9cd45ddad3 Reinstate del_curterm ifdef bits. Nicholas Marriott 2021-03-01 10:51:24 +00:00
  • 8a4a2153fd There is no need to call del_curterm in the server anymore. nicm 2021-03-01 10:50:14 +00:00
  • b6dfb9996a Add some text with examples of ; as a separator, GitHub issues 2522 and 2580. nicm 2021-03-01 10:44:38 +00:00
  • ba9f89c44e Merge branch 'obsd-master' into master Thomas Adam 2021-02-27 08:01:20 +00:00
  • 40ad11b2b5 Handle NULL term_type. nicm 2021-02-27 06:28:16 +00:00
  • a7d4703bfe Merge branch 'obsd-master' into master Thomas Adam 2021-02-27 00:01:19 +00:00
  • 583aaebc0a Check session, window, pane in the right order when working out format type. nicm 2021-02-26 21:53:41 +00:00
  • 9c6502fcc9 Merge branch 'obsd-master' into master Thomas Adam 2021-02-26 10:01:22 +00:00
  • dd7006c850 Add a couple of format variables for active and last window index. nicm 2021-02-26 07:53:26 +00:00
  • 9710ec5244 Merge branch 'obsd-master' into master Thomas Adam 2021-02-24 10:01:19 +00:00
  • 6aaef3e705 Correct client_prefix so it returns 1 if in prefix, not 0. nicm 2021-02-24 09:22:15 +00:00
  • 0982a1a975 Merge branch 'obsd-master' into master Thomas Adam 2021-02-22 12:01:18 +00:00
  • 6d8efe9319 expand_paths needs the global environment to be set up, do that first. nicm 2021-02-22 11:42:50 +00:00
  • 0cd5ed9e9b Merge branch 'obsd-master' into master Thomas Adam 2021-02-22 10:01:22 +00:00
  • 5f425ee318 Fix regex searching with wrapped lines, from Anindya Mukherjee; GitHub issue 2570. nicm 2021-02-22 08:31:19 +00:00
  • 6876381276 Move config file path expansion much earlier, keep the list of paths around rather than freeing later, and add a config_files format variable containing it. Suggested by kn@ a while back. nicm 2021-02-22 08:18:13 +00:00
  • cb7e6698f3 Merge branch 'obsd-master' into master Thomas Adam 2021-02-22 08:01:22 +00:00
  • e858270006 There are many format variables now so allocating all the default ones 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. nicm 2021-02-22 07:09:06 +00:00
  • 8986c8dfcd Move jump commands to grid reader, make them UTF-8 aware, and tidy up, from Anindya Mukherjee. nicm 2021-02-22 06:53:04 +00:00
  • 742e670805 Merge branch 'obsd-master' into master Thomas Adam 2021-02-19 10:01:19 +00:00
  • b04f8acb70 Check return value of chdir() to stop a silly warning with some compilers, GitHub issue 2573. nicm 2021-02-19 09:09:16 +00:00
  • 11e404ca3c Merge branch 'obsd-master' into master Thomas Adam 2021-02-18 16:01:18 +00:00
  • fb42ae3071 Reduce len when moving past spaces in OSC 11 parameter. nicm 2021-02-18 13:30:24 +00:00
  • 3a76a56824 Merge branch 'obsd-master' into master Thomas Adam 2021-02-17 09:58:51 +00:00
  • ce5de76592 Merge branch 'obsd-master' into master Thomas Adam 2021-02-17 09:58:12 +00:00
  • af3ffa9c41 Move the call to setupterm() into the client and have it pass the 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. nicm 2021-02-17 07:18:36 +00:00
  • 5c275c2a1a Log missing keys when extended keys is on rather than fatal(). nicm 2020-11-17 08:13:35 +00:00
  • 5df9b3650a In the end UTF-8 did not become a terminal feature, should not be listed in man page. nicm 2021-02-06 13:02:52 +00:00
  • d768fc2553 Make SGR 6 (rapid blink) the same as SGR 5 (blink) and make SGR 21 to the same as SGR 4:2, it is an old alternative. GitHub issue 2567. nicm 2021-02-15 14:22:35 +00:00
  • 0526d074d0 OSC 11 test. Nicholas Marriott 2021-02-15 09:40:50 +00:00
  • 6642706f7b Support X11 colour names and some other variations for OSC 10/11, also add OSC 110 and 111. GitHub issue 2567. nicm 2021-02-15 09:39:37 +00:00
  • 632636dba5 Do not care about the server socket closing if exiting anyway. nicm 2021-02-12 06:52:48 +00:00
  • 2b58c226db Add a couple of helper functions, and flush imsgs on exit. nicm 2021-02-11 09:39:29 +00:00
  • 79e1984962 O_TRUNC is needed in case file exists. nicm 2021-02-11 09:03:38 +00:00
  • e40831a002 Move file handling protocol stuff all into file.c so it can be reused more easily. nicm 2021-02-11 08:28:45 +00:00
  • 679b2288e8 Restore utf8proc bits that went missing, GitHub issue 2564. Nicholas Marriott 2021-02-10 17:18:37 +00:00
  • 5b6d4c4fd1 Merge branch 'obsd-master' into master Thomas Adam 2021-02-10 08:01:20 +00:00
  • 32186950f5 Use ~/.tmux.conf as an example rather than /etc/passwd, suggested by deraadt@. nicm 2021-02-10 07:17:07 +00:00
  • c6215b55e0 Merge branch 'obsd-master' into master Thomas Adam 2021-02-09 16:01:18 +00:00
  • 1492ae11a5 Do not expand times and #() inside #(). nicm 2021-02-09 14:25:40 +00:00
  • 8d7f341a85 Merge branch 'obsd-master' into master Thomas Adam 2021-02-08 16:01:21 +00:00
  • e3005e5ec4 Add "pipe" variants of the "copy-pipe" commands which do not copy, from Christian Zangl. nicm 2021-02-08 14:46:53 +00:00
  • fe3ab51b78 Merge branch 'obsd-master' into master Thomas Adam 2021-02-08 10:01:20 +00:00
  • c579be1f2a Include "focused" in client flags, from Dan Aloni in GitHub issue 2558. nicm 2021-02-08 08:33:54 +00:00
  • 03430887be Merge branch 'obsd-master' into master Thomas Adam 2021-02-06 14:01:20 +00:00
  • 1e29ebd412 In the end UTF-8 did not become a terminal feature, should not be listed in man page. nicm 2021-02-06 13:02:52 +00:00
  • 39904f7fc6 Merge branch 'obsd-master' into master Thomas Adam 2021-02-05 14:01:23 +00:00
  • 3dddc11603 Send Unicode directional isolate characters around horizontal pane 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. nicm 2021-02-05 12:29:18 +00:00
  • be471c328e Add a -S flag to new-window to make it select the existing window if one 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@. nicm 2021-02-05 12:23:49 +00:00
  • e3d71d9bdf Add compat clock_gettime for older macOS. GitHub issue 2555. Nicholas Marriott 2021-02-05 11:00:45 +00:00
  • 3dd2e85075 Merge branch 'obsd-master' into master Thomas Adam 2021-02-04 16:01:18 +00:00
  • c13f2e1135 Redraw status line and borders on pane enable/disable, GitHub issue 2554. nicm 2021-02-04 14:02:24 +00:00
  • 86955dbfe1 Merge branch 'obsd-master' into master Thomas Adam 2021-02-02 14:01:19 +00:00
  • f0546b0ff8 Fix popup mouse position. nicm 2021-02-02 13:03:03 +00:00
  • a5d69ab4b0 Merge branch 'obsd-master' into master Thomas Adam 2021-02-02 08:01:19 +00:00
  • 5c48086e5c article fixes; from eddie youseph jmc 2021-02-02 07:33:29 +00:00
  • 0242513ce7 Merge branch 'obsd-master' into master Thomas Adam 2021-02-01 10:01:20 +00:00
  • 509221520c Add a no-detached choice to detach-on-destroy which detaches only if there are no other detached sessions to switch to, from Sencer Selcuk in GitHub issue 2553. nicm 2021-02-01 08:01:14 +00:00
  • 545a610c6b Merge branch 'obsd-master' into master Thomas Adam 2021-01-29 12:01:21 +00:00
  • 255802d8d7 Trim output overwritten by later text or clears completely rather than only in a few cases. This means we can better track when a line should wrap. GitHub issue 2537. nicm 2021-01-29 09:48:43 +00:00
  • ffc159a456 Merge branch 'obsd-master' into master Thomas Adam 2021-01-27 12:01:21 +00:00
  • 8156d9ba41 Flush pending output before entering or exiting alternate screen rather than leaking it, oss-fuzz issue 29959. nicm 2021-01-27 10:42:52 +00:00
  • 70a6af6287 Merge branch 'obsd-master' into master Thomas Adam 2021-01-26 10:01:18 +00:00
  • d6542c333d Always resize the original screen before copying when exiting the alternate screen, GitHub issue 2536. nicm 2021-01-26 09:32:52 +00:00
  • 3b51abcf22 Merge branch 'obsd-master' into master Thomas Adam 2021-01-22 14:01:18 +00:00
  • 0898a868c6 Merge branch 'obsd-master' into master Thomas Adam 2021-01-22 12:01:21 +00:00
  • 9fcf413d87 Revert clear changes to writing as they don't work properly, better change to come. nicm 2021-01-22 11:28:33 +00:00
  • bba71f696f Add rectangle-on and rectangle-off copy mode commands, GitHub isse 2546 from author at will dot party. nicm 2021-01-22 10:24:52 +00:00
  • 8d185395e4 Fix some cursor movement commands, from Anindya Mukherjee. nicm 2021-01-22 10:21:24 +00:00
  • 9ff017e908 Merge branch 'obsd-master' into master Thomas Adam 2021-01-20 08:01:22 +00:00
  • fb774b77d0 Change so that window_flags escapes # automatically which means configs will not have to change. A new format window_raw_flags contains the old unescaped version. nicm 2021-01-20 07:16:54 +00:00
  • 82423975df Merge branch 'obsd-master' into master Thomas Adam 2021-01-18 14:01:21 +00:00
  • 66da51b631 Merge branch 'obsd-master' into master Thomas Adam 2021-01-18 12:01:22 +00:00
  • 3c86fa2ad0 Add -Wno-format-y2k. Nicholas Marriott 2021-01-18 11:14:37 +00:00
  • 0730dce5ab Hide some warnings on newer GCC versions, GitHUb issue 2525. nicm 2021-01-18 11:14:23 +00:00
  • 63f4a3c4e5 Extra result message. Nicholas Marriott 2021-01-18 10:48:49 +00:00
  • 91d112bf12 There is no need to clear every line entirely before drawing to it, this means moving the cursor and messes up wrapping. Better to just clear the sections that aren't written over. GitHub issue 2537. nicm 2021-01-18 10:27:54 +00:00
  • 4148417a2a PKG_CHECK_MODULES needs to be separate. Nicholas Marriott 2021-01-17 19:03:18 +00:00