Commit Graph

  • 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
  • 607594f6e5 Show config.log on failure. Nicholas Marriott 2021-01-17 18:47:14 +00:00
  • b18834be8a Revert "Set CFLAGS also." Nicholas Marriott 2021-01-17 18:24:52 +00:00
  • 032723c874 Set CFLAGS also. Nicholas Marriott 2021-01-17 18:21:54 +00:00
  • c6bcf3dba5 Fix yes/no for b64_ntop check. Nicholas Marriott 2021-01-17 18:19:50 +00:00
  • 24c15eda79 Merge branch 'obsd-master' into master Thomas Adam 2021-01-17 18:01:21 +00:00
  • d4866d5fe6 Fix SEARCH_LIBS. Nicholas Marriott 2021-01-17 17:55:14 +00:00
  • 603280cb28 +compat.h Nicholas Marriott 2021-01-17 17:52:10 +00:00
  • a3011be0d2 Look for libevent2 differently from libevent for platforms with both. Nicholas Marriott 2021-01-17 17:21:51 +00:00
  • 71c590a37f Add -N flag to never start server even if command would normally do so, GitHub issue 2523. nicm 2021-01-17 16:17:41 +00:00
  • dc1e1125a5 Merge branch 'obsd-master' into master Thomas Adam 2021-01-08 12:01:21 +00:00
  • a75aca4d6a Missed from last commit. nicm 2021-01-08 10:09:44 +00:00
  • 9df33bc536 Merge branch 'obsd-master' into master Thomas Adam 2021-01-08 10:01:20 +00:00
  • b96c5e3687 With incremental search, start empty and only repeat the previous search if the user tries to search again with an empty prompt. This matches emacs behaviour more closely. nicm 2021-01-08 08:22:10 +00:00
  • fc28e2065a Merge branch 'obsd-master' into master Thomas Adam 2021-01-06 10:01:22 +00:00
  • 199689954b Insert joined pane before the target pane with -b, like for split. From Takeshi Banse. nicm 2021-01-06 07:32:23 +00:00
  • ccb8b9eb2a Remove unused variable, from Ben Boeckel. nicm 2021-01-06 07:29:49 +00:00
  • 5a2db4c7e8 Merge branch 'obsd-master' into master Thomas Adam 2021-01-04 10:01:20 +00:00
  • bd0fb22f0a Add a variant of remain-on-exit that only keeps the pane if the program failed, GitHub issue 2513. nicm 2021-01-04 08:43:16 +00:00
  • f04cc39976 Merge branch 'obsd-master' into master Thomas Adam 2021-01-01 10:01:21 +00:00
  • 606bd5f8c6 Add a -C flag to run-shell to use a tmux command rather than a shell command. nicm 2021-01-01 08:36:51 +00:00
  • f72deb092a Merge branch 'obsd-master' into master Thomas Adam 2020-12-30 22:01:23 +00:00
  • f97305af31 Use right format for session loop, GitHub issue 2519. nicm 2020-12-30 18:29:40 +00:00
  • 3cbe186efb Merge branch 'obsd-master' into master Thomas Adam 2020-12-28 12:01:21 +00:00
  • a98ee00dd9 Do not list user options with show-hooks. nicm 2020-12-28 09:40:27 +00:00
  • c68baaad98 Remove current match indicator which can't work anymore since we only search the visible region. From Anindya Mukherjee, GitHub issue 2508. nicm 2020-12-28 09:36:26 +00:00
  • d936fde7ef Makefile.am: add grid-reader.c Thomas Adam 2020-12-24 22:22:10 +00:00
  • 70a0eb3a22 Merge branch 'obsd-master' into master Thomas Adam 2020-12-24 22:21:21 +00:00
  • c43f2dce1b Break cursor movement in grid into a common set of functions that can handle line wrapping and so on in one place and use them for the obvious copy mode commands. From Anindya Mukherjee. nicm 2020-12-22 09:22:14 +00:00
  • 950e982001 Merge branch 'obsd-master' into master Thomas Adam 2020-12-15 10:01:22 +00:00
  • 8bd29a30bf Make synchronize-panes a pane option and add -U flag to set-option to unset an option on all panes. GitHub issue 2491 from Rostislav Nesin. nicm 2020-12-15 08:31:50 +00:00
  • 681c0d2bfb Include compat.h after system headers, GitHub issue 2492. Nicholas Marriott 2020-12-07 12:12:40 +00:00
  • caf096394b Merge branch 'obsd-master' into master Thomas Adam 2020-12-07 10:01:20 +00:00
  • f6095cad99 Do not include the status line size when working out the character for the pane status line. GitHub issue 2493. nicm 2020-12-07 09:46:58 +00:00
  • ed786309cc Do not clear the wrapped flag on linefeeds if it is already set - this does not appear to be what applications want. GitHub issue 2478 and 2414. nicm 2020-12-07 09:23:57 +00:00
  • e288ea153c Merge branch 'obsd-master' into master Thomas Adam 2020-12-03 08:01:22 +00:00
  • fd451aa796 Redraw any visible modes when status line changes so that formats like the pane title are updated. GitHub issue 2487. Also a man page fix from jmc. nicm 2020-12-03 07:12:11 +00:00
  • 4724702d4e Merge branch 'obsd-master' into master Thomas Adam 2020-12-01 12:01:20 +00:00
  • f0c1233d4f Leave newlines inside multiline quotes. nicm 2020-12-01 10:48:03 +00:00
  • 27634645e9 Merge branch 'obsd-master' into master Thomas Adam 2020-12-01 10:01:22 +00:00
  • 9a74bba007 Make replacement of ##s consistent when drawing formats, whether 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. nicm 2020-12-01 08:12:58 +00:00
  • 70a5207bd1 Merge branch 'obsd-master' into master Thomas Adam 2020-11-30 16:01:22 +00:00
  • 33046ecee2 Ignore running command when checking for no-hooks flag if it is blocked. GitHub issue 2483. nicm 2020-11-30 13:37:45 +00:00
  • bf8aa9804b Merge branch 'obsd-master' into master Thomas Adam 2020-11-26 14:01:19 +00:00
  • fd5c3e6122 Fix check for vertical centre. nicm 2020-11-26 13:06:21 +00:00
  • 82fbff4e08 Merge branch 'obsd-master' into master Thomas Adam 2020-11-26 10:01:21 +00:00
  • 76cfb5f471 Add -N flag to display-panes to ignore keys, GitHub issue 2473. nicm 2020-11-26 09:19:10 +00:00
  • 2f1578ef83 Update closefrom from OpenSSH for macOS code which is now needed. Nicholas Marriott 2020-11-17 17:56:55 +00:00
  • bfdc4373d7 Update closefrom from OpenSSH for macOS code which is now needed. Nicholas Marriott 2020-11-17 17:56:55 +00:00
  • 3ee1addbb9 Merge branch 'obsd-master' into master Thomas Adam 2020-11-17 10:01:22 +00:00
  • 0d28ee9274 Log missing keys when extended keys is on rather than fatal(). nicm 2020-11-17 08:13:35 +00:00
  • e94bd5ccff Merge branch 'obsd-master' Thomas Adam 2020-11-10 10:01:22 +00:00
  • bbab5b7a30 Allow previous-word to scroll onto the first line, noticed by Anindya Mukherjee. nicm 2020-11-10 08:16:52 +00:00
  • 3eb1519bd7 Scaffold for oss-fuzz, from Sergey Nizovtsev. Nicholas Marriott 2020-11-09 16:41:55 +00:00
  • 0dcb6e5eb4 Merge branch 'obsd-master' Thomas Adam 2020-11-09 12:01:21 +00:00
  • f1193b4891 If mouse bits change, clear them all and set again to avoid problems with some bits implying others. GitHub issue 2458. nicm 2020-11-09 10:54:28 +00:00
  • 5ddbf0c918 Merge branch 'obsd-master' Thomas Adam 2020-11-09 10:01:27 +00:00
  • 61e55fa50d Change how escaping is processed for formats so that ## and # can be used in styles. Also add a 'w' format modifier for the width. From Chas J Owens IV in GitHub issue 2389. nicm 2020-11-09 09:10:10 +00:00
  • 72c46aa15e Add support for Haiku, from David Carlier. GitHub issue 2453. Nicholas Marriott 2020-11-09 09:00:41 +00:00
  • 1326529f99 Remove some old debug logging. nicm 2020-11-09 08:42:43 +00:00
  • dac285c92a Merge branch 'obsd-master' Thomas Adam 2020-11-03 10:01:21 +00:00
  • 572a6b21b5 Back to 3.3. Nicholas Marriott 2020-11-03 08:41:24 +00:00
  • 5306bb0db7 Update to 3.2-rc3, bring in all the changes from master. Nicholas Marriott 2020-11-03 08:37:08 +00:00
  • ba9962b568 Merge branch 'master' into 3.2-rc Nicholas Marriott 2020-11-03 08:35:52 +00:00
  • 9d83c5e948 Expand menu and popup -x and -y as a format, from teo_paul1 at yahoo dot com in GitHub issue 2442. nicm 2020-11-03 08:09:35 +00:00
  • ff53eed402 Merge branch 'obsd-master' Thomas Adam 2020-11-02 10:01:20 +00:00
  • ac5045a00f Add numeric comparisons for formats, from teo_paul1 at yahoo dot com in GitHub issue 2442. nicm 2020-11-02 08:21:30 +00:00
  • ffe39edf2f Merge branch 'obsd-master' Thomas Adam 2020-10-30 20:01:20 +00:00