Commit Graph

  • e26356607e Merge branch 'obsd-master' Thomas Adam 2023-09-04 10:01:10 +01:00
  • 43e5e80343 Skip wrapped lines in top level search loop because they will be combined in the inner loop (in window_copy_search_rl_regex and the others), avoids searching the same text multiple times. Also add a line length limit for regex searches. GitHub issue 3675. nicm 2023-09-04 08:01:43 +00:00
  • 1742138f05 Merge branch 'obsd-master' Thomas Adam 2023-09-02 22:01:09 +01:00
  • c767d62329 Request terminal colours again on SIGWINCH but at most once every 30 seconds, GitHub issue 3582. nicm 2023-09-02 20:03:10 +00:00
  • 7ad29b9831 Merge branch 'obsd-master' Thomas Adam 2023-09-02 12:01:09 +01:00
  • d209fe9b1e Setulc only does RGB colour so add Setulc1 to do non-RGB colours, GitHub issue 3627. nicm 2023-09-02 09:17:23 +00:00
  • c5542637d7 Set visited flag on last windows when linking session. nicm 2023-09-02 08:38:37 +00:00
  • e7c829fc67 Merge branch 'obsd-master' Thomas Adam 2023-09-01 20:01:10 +01:00
  • 579829eef2 Only compare the actual size of the UTF-8 character, not all of it. nicm 2023-09-01 18:43:54 +00:00
  • 3aa20f6e75 Use %05X not %08X. Nicholas Marriott 2023-09-01 19:37:27 +01:00
  • f78279bb2e Add missing -T to getopt string. nicm 2023-09-01 16:40:38 +00:00
  • a99d7c6314 makefile: fixup bad merge Thomas Adam 2023-09-01 17:13:55 +01:00
  • cf1ed67fcc Merge branch 'obsd-master' Thomas Adam 2023-09-01 17:09:41 +01:00
  • 1aec420465 Merge branch 'obsd-master' Thomas Adam 2023-09-01 17:06:27 +01:00
  • 16e4b39359 Clear combine flag when a non-UTF-8 set of characters is encountered. nicm 2023-09-01 16:01:54 +00:00
  • 9456258ccc Rewrite combined character handling to be more consistent and to support newer Unicode combined characters (which we have to "know" are combined since they are not width zero). GitHub issue 3600. nicm 2023-09-01 14:29:11 +00:00
  • c41d59f232 Expand name before looking for window with -S, GitHub issue 3670. nicm 2023-09-01 14:24:46 +00:00
  • d682ef88e6 Bump width and height to 10000. Nicholas Marriott 2023-09-01 14:54:27 +01:00
  • c1e6e54e6e Add detach-on-destroy previous and next, mostly from Alexis Hildebrandt. nicm 2023-09-01 13:48:54 +00:00
  • 62f657845e Fix merge error, from Jakub Łukasiewicz. Nicholas Marriott 2023-08-26 20:57:44 +01:00
  • a9841a6d1e portable: fixup merge Thomas Adam 2023-08-23 20:55:23 +01:00
  • 70ecf17f85 Merge branch 'obsd-master' Thomas Adam 2023-08-23 20:37:42 +01:00
  • 71d453f169 Add -c to run-shell to set working directory, from someone in GitHub issue 3661. nicm 2023-08-23 08:40:25 +00:00
  • 071849f82f Improve logging of SIXEL parsing errors. Nicholas Marriott 2023-08-23 09:30:20 +01:00
  • 52084b2948 Log what input_dcs_dispatch does with the input data. nicm 2023-08-23 08:30:07 +00:00
  • dfbc6b1888 Merge SIXEL branch. Nicholas Marriott 2023-08-22 08:43:35 +01:00
  • e3a8b8434c Merge branch 'obsd-master' Thomas Adam 2023-08-17 18:01:09 +01:00
  • 8636848e63 Add a session, pane and user mouse range types for the status line and add format variables for mouse_status_line and mouse_status_range so they can be associated with different commands in the key bindings. GitHub issue 3652. nicm 2023-08-17 14:10:28 +00:00
  • 3d93b0c52e Merge branch 'obsd-master' Thomas Adam 2023-08-15 12:01:09 +01:00
  • d9942c769e Add meta bindings for status line menus as well as the existing pane one for terminals which steal the mouse menu button. nicm 2023-08-15 09:51:48 +00:00
  • 6a45e6c256 Merge branch 'obsd-master' Thomas Adam 2023-08-15 10:01:09 +01:00
  • b770a429c6 Add an option menu-selected-style to configure the currently selected menu item, from Alexis Hildebrandt. nicm 2023-08-15 07:01:47 +00:00
  • 11e69f6025 Merge branch 'obsd-master' Thomas Adam 2023-08-11 20:01:09 +01:00
  • 57837bbf67 Do not crash if in buffer mode and the last buffer is deleted using the command. nicm 2023-08-11 17:09:00 +00:00
  • 4c60afde78 Merge branch 'obsd-master' Thomas Adam 2023-08-08 12:01:10 +01:00
  • ed689cd54e Merge branch 'obsd-master' Thomas Adam 2023-08-08 10:01:11 +01:00
  • 7a44984069 Add flag to next-prompt/previous-prompt to go to command output instead, from Magnus Gross. nicm 2023-08-08 08:21:29 +00:00
  • dee72ed41f Add options and flags for menu styles similar to those existing for popups, from Alexis Hildebrandt. GitHub issue 3650. nicm 2023-08-08 08:08:47 +00:00
  • 1071ef8fc5 Extend the menu drawing function to support custom characters and styles, from Alexis Hildebrandt. nicm 2023-08-08 07:41:04 +00:00
  • 2b535bc173 Fix a couple of rounded border characters, from Alexis Hildebrandt. nicm 2023-08-08 07:19:48 +00:00
  • b791f00bf1 Merge branch 'obsd-master' Thomas Adam 2023-08-07 14:01:12 +01:00
  • 3e82ad5340 Merge branch 'obsd-master' Thomas Adam 2023-08-07 12:01:10 +01:00
  • 7b1030293c Free title earlier, from Alexis Hildebrandt. nicm 2023-08-07 10:52:00 +00:00
  • a5fd80bbc3 Trim can generate strings longer than the original if there are many #s, so create a bigger buffer. Reported by Robert Morris. nicm 2023-08-07 10:04:29 +00:00
  • fda3937734 Merge branch 'obsd-master' Thomas Adam 2023-07-19 16:01:09 +01:00
  • b13c230749 Correct visited flag when the last window list is rebuilt by renumbering windows, appears to fix hang reported by Mark Kelly. nicm 2023-07-19 13:03:36 +00:00
  • 715f39a53a Merge branch 'obsd-master' Thomas Adam 2023-07-14 22:01:10 +01:00
  • 2f74e811f1 Set extended keys flag again after reset, from Eric T Johnson. nicm 2023-07-14 19:32:59 +00:00
  • 828efc7bcf Merge branch 'obsd-master' Thomas Adam 2023-07-13 18:01:10 +01:00
  • 84936b832f Use 8 for underscore colour defaults instead of 0 which is less confusing, and fix writing tge default colour. GitHub issue 3627. nicm 2023-07-13 06:03:48 +00:00
  • c8494dff7b Merge branch 'obsd-master' Thomas Adam 2023-07-11 20:01:10 +01:00
  • 8fcc212e7a Remove Ns and Li and change Nm to Ic, suggested by jmc. nicm 2023-07-11 16:09:09 +00:00
  • 0e281530cb Merge branch 'obsd-master' Thomas Adam 2023-07-11 10:01:10 +01:00
  • efded95ed7 Add descriptions of copy mode commands, from Michael Bianco. nicm 2023-07-11 07:34:23 +00:00
  • 18870913c5 Merge branch 'obsd-master' Thomas Adam 2023-07-10 14:01:12 +01:00
  • 63b7282377 It should no longer be necessary to ignore SIGCHLD because it is now blocked around daemon(), and doing so causes trouble with newer libevent (it cannot restore the original handler). Reported by Azat Khuzhin in GitHub issue 3626. nicm 2023-07-10 12:00:08 +00:00
  • 269dab4b3e Merge branch 'obsd-master' Thomas Adam 2023-07-10 12:01:12 +01:00
  • 4ece43a029 Loop around waitpid in client, from Azat Khuzhin. nicm 2023-07-10 09:35:46 +00:00
  • 8b3e2eab5a Use a stack for last panes line windows, from Thomas Bertschinger in GitHub issue 3588. nicm 2023-07-10 09:24:53 +00:00
  • e4c4ceb286 Merge branch 'obsd-master' Thomas Adam 2023-07-10 02:01:11 +01:00
  • b7e22d00b4 Call closefrom after removing signals because newer libevent doesn't like its signal fd being closed Azat Khuzhin. nicm 2023-07-09 22:54:52 +00:00
  • 1a11c972ae Merge branch 'obsd-master' Thomas Adam 2023-07-03 20:01:12 +01:00
  • 43b841f188 Add support for marking lines with a shell prompt based on the OSC 133 extension, from Munif Tanjim in GitHub issue 3596. nicm 2023-07-03 16:47:43 +00:00
  • f9b0460840 Merge branch 'obsd-master' Thomas Adam 2023-07-03 14:01:10 +01:00
  • 659d876cd5 Merge branch 'obsd-master' Thomas Adam 2023-07-03 12:01:09 +01:00
  • ac43186dff Do not risk writing over the end of the buffer when it ends in # (because strchr \0 will be non-NULL), reported by Robert Morris in GitHub issue 3610. nicm 2023-07-03 10:48:26 +00:00
  • e79fb214f8 Another warning fix for GCC from Thomas Klausner. nicm 2023-07-03 08:37:14 +00:00
  • 9cf58d1a52 Merge branch 'obsd-master' Thomas Adam 2023-07-01 02:01:10 +01:00
  • a2a02fd7d7 Change a few types to fix warnings, from Thomas Klausner. nicm 2023-06-30 21:55:08 +00:00
  • 237ee6f231 Merge branch 'obsd-master' Thomas Adam 2023-06-30 16:01:10 +01:00
  • 4e57894e85 Get rid of some warnings with GCC 10, from Thomas Klausner. nicm 2023-06-30 13:19:32 +00:00
  • 8c9fbbf4f3 Add libterminfo for NetBSD, from Thomas Klausner. Nicholas Marriott 2023-06-29 15:31:06 +01:00
  • 3f3d61bd58 Merge branch 'obsd-master' Thomas Adam 2023-06-26 12:01:09 +01:00
  • 80d4f4afc6 Merge branch 'obsd-master' Thomas Adam 2023-06-26 10:01:10 +01:00
  • 2546216019 When exiting alternate screen, there is no need to reflow when going back to old size since the contents will be overwritten. GitHub issue 3510. nicm 2023-06-26 08:14:19 +00:00
  • ff8882a24f Add "us" to styles for underscore colour, GitHub issue 3589. nicm 2023-06-26 07:17:40 +00:00
  • ffe2410639 Merge branch 'obsd-master' Thomas Adam 2023-06-25 20:01:09 +01:00
  • 9e14c1f88d SGR 0 should not end hyperlink, reported by Lucas Trzesniewski. nicm 2023-06-25 15:53:07 +00:00
  • 29a5dfc7c0 Merge branch 'obsd-master' Thomas Adam 2023-06-21 08:01:08 +01:00
  • 645bf8b3ab Check fdopen return value, from Christian Menges. nicm 2023-06-21 06:28:18 +00:00
  • f41c536ff3 Merge branch 'obsd-master' Thomas Adam 2023-06-08 14:01:09 +01:00
  • bdd05bdbd3 Fix mismatch between function prototype and definition, from Anindya Mukherjee. nicm 2023-06-08 11:17:28 +00:00
  • fe385b180f Try utf8proc with pkg-config, from Alex Wu. Nicholas Marriott 2023-06-08 09:10:43 +01:00
  • 0eb5d25453 Merge branch 'obsd-master' Thomas Adam 2023-05-19 10:01:09 +01:00
  • 1d98394b41 Add format for server_sessions, from Magnus Gross. nicm 2023-05-19 07:46:34 +00:00
  • 149d9cc851 Merge branch 'obsd-master' Thomas Adam 2023-05-08 12:01:09 +01:00
  • 204d8f31d7 Reorder struct grid_cell_entry tb 2023-05-08 10:03:39 +00:00
  • fbe6fe7f55 Merge branch 'obsd-master' Thomas Adam 2023-04-28 12:52:21 +01:00
  • 168eab11a7 Cast both strings for tparm. Nicholas Marriott 2023-04-28 07:23:53 +01:00
  • 41b318ac7c Add options to change the confirm key and default behaviour of confirm-before. From Elias Assaf in GitHub issue 3548; prompted by an earlier change from Yutaro Yoshii in GitHub issue 3496. nicm 2023-04-28 06:12:27 +00:00
  • bf636d9575 Do not fatal if tparm fails, instead just log it (not working sequences are better than exiting). nicm 2023-04-28 05:59:35 +00:00
  • 39d41d0810 Use ncurses' new tparm_s function (added in 6.4-20230424) instead of tparm so it does not object to string arguments in capabilities it doesn't already know. Nicholas Marriott 2023-04-28 06:44:40 +01:00
  • 9d8131c190 Merge branch 'obsd-master' Thomas Adam 2023-04-27 19:16:08 +01:00
  • 0ff991b25f Set default lock command to vlock on Linux if present at build time, from Josh Boyer in GitHub issue 3527. Nicholas Marriott 2023-04-25 17:23:32 +01:00
  • 15c70e562c Include NCURSES_VERSION_PATCH in the log. Nicholas Marriott 2023-04-25 16:48:49 +01:00
  • 8f34504736 Tidy tparm wrapper functions to have more obvious names and check tparm return value. nicm 2023-04-25 09:31:50 +00:00
  • 551e0c36d9 Invalidate cached tty state after changing features since they may change what the terminal can do and need mouse sequences or similar to be sent again, GitHub issue 3513. nicm 2023-04-25 09:24:44 +00:00
  • 48eba4c195 Ignore the user keys range when checking if a key is Unicode. nicm 2023-04-17 18:22:24 +00:00
  • 9f605178c3 It seems silly to use progname for version, just always say tmux. nicm 2023-04-17 18:00:19 +00:00
  • bcafe51378 Make the check if printing is allowed the same as writing which is less confusing. nicm 2023-04-17 17:58:35 +00:00