Commit Graph

  • 7cdf5ee9bc Merge branch 'obsd-master' Thomas Adam 2020-01-28 10:01:25 +00:00
  • 24350879cd Add a define for flags meaning a client is not attached, and fix unattached counter, reported by Thomas Sattler. nicm 2020-01-28 08:06:11 +00:00
  • f3ea318a04 Merge branch 'obsd-master' Thomas Adam 2020-01-27 10:01:27 +00:00
  • 2c38e01b54 Expand description of start-server. nicm 2020-01-27 09:04:47 +00:00
  • d0b8d036be Add support for adding a note to a key binding (with bind-key -N) and use this to add descriptions to the default key bindings. A new -N flag to list-keys shows key bindings with notes rather than the default bind-key command used to create them. Change the default ? binding to use this to show a readable summary of keys. nicm 2020-01-27 08:53:13 +00:00
  • 2e39b621c9 Change so that assignments may be specified alone - a command isn't required. GitHub issue 2062. nicm 2020-01-27 08:23:42 +00:00
  • 0eb7b54731 Merge branch 'obsd-master' Thomas Adam 2020-01-25 18:01:26 +00:00
  • 74b424075c Use FNM_IGNORECASE if present, from Eric N Vander Weele in GitHub issue 2067. Nicholas Marriott 2020-01-25 16:41:49 +00:00
  • 9169ee0e87 Mention swap-window -d, GitHub issue 2068. nicm 2020-01-25 16:40:32 +00:00
  • cdf138372c Add to CHANGES. Nicholas Marriott 2020-01-14 16:02:22 +00:00
  • a01c9ffc6c Merge branch 'obsd-master' Thomas Adam 2020-01-13 14:01:25 +00:00
  • da515570dc Stop handling DA and DSR after a second (they should be the first thing sent) so this should be plenty. nicm 2020-01-13 11:59:21 +00:00
  • 8457f54edc Merge branch 'obsd-master' Thomas Adam 2020-01-13 10:01:27 +00:00
  • 835a6c0cf0 Be more specific in the DSR we are looking for so it doesn't get confused with mouse sequences. Also set a flag and don't bother checking for it if we have already seen it (same for DA), and don't check if we never asked for it. nicm 2020-01-13 08:12:53 +00:00
  • 04eee2410d Treat plausible but invalid keys (like C-BSpace) as literal like any other unrecognised string passed to send-keys. Reported by Anthony Sottile in GitHub issue 2049. nicm 2020-01-13 07:51:54 +00:00
  • 3e701309a4 Merge branch 'obsd-master' Thomas Adam 2020-01-13 00:01:24 +00:00
  • e9b1294331 Merge branch 'obsd-master' Thomas Adam 2020-01-12 22:01:26 +00:00
  • 381333c4a9 Detect iTerm2 and enable DECSLRM. nicm 2020-01-12 22:00:20 +00:00
  • 193e637de0 The terminal type was never as much use as I expected so remove it in favour of a couple of flags for the features used (DECSLRM and DECFRA). Also rename the flag for no xenl to be more obvious while here. nicm 2020-01-12 21:07:07 +00:00
  • deb734c7f6 Loop over all DA features, don't skip the first. nicm 2020-01-12 20:20:20 +00:00
  • 61b075a263 Merge branch 'obsd-master' Thomas Adam 2020-01-08 16:01:23 +00:00
  • 36eb16ce7d Do not hang in format_trim_* on invalid UTF-8 characters. nicm 2020-01-08 14:40:52 +00:00
  • ed16f51e26 Merge branch 'obsd-master' Thomas Adam 2020-01-08 08:01:24 +00:00
  • 6628e542b5 Add -Z to default switch-client command in tree mode, matches previous behaviour. nicm 2020-01-08 06:38:55 +00:00
  • 507816b1d6 Merge branch 'obsd-master' Thomas Adam 2020-01-05 22:01:24 +00:00
  • 73b8c2ef3c Common function to free key bindings. nicm 2020-01-05 20:39:25 +00:00
  • 36169d8a68 Merge branch 'obsd-master' Thomas Adam 2020-01-05 14:01:23 +00:00
  • 7c6c66cc3c Send errors to stdout in control mode so they don't get reordered with other output, reported by George Nachman in GitHub issue 2048. nicm 2020-01-05 12:51:43 +00:00
  • 6d3d47c25b Merge branch 'obsd-master' Thomas Adam 2020-01-04 20:01:26 +00:00
  • 1870cc70ef Add ~ to quoted characters for %%%, reported by tb@. nicm 2020-01-04 18:01:56 +00:00
  • 6b0091e185 Merge branch 'obsd-master' Thomas Adam 2020-01-02 14:01:26 +00:00
  • a770a3bf7e Add CMD_FIND_DEFAULT_MARKED to join-pane like move-pane, from davidegirardi in GitHub issue 2046. nicm 2020-01-02 13:44:17 +00:00
  • 7110226b96 Merge branch 'obsd-master' Thomas Adam 2020-01-02 00:01:29 +00:00
  • ac85a3e0d3 Document client exit messages. nicm 2020-01-01 22:12:05 +00:00
  • 9cc603cbad Fix format expansion in window names, reported by Suraj N Kurapati. nicm 2020-01-01 21:51:33 +00:00
  • 566ab9aa28 Merge branch 'obsd-master' Thomas Adam 2019-12-30 22:01:25 +00:00
  • 206d878127 Do not let readonly clients limit the size, suggested by Max Barraclough in GitHub issue 2042. nicm 2019-12-30 21:24:55 +00:00
  • 47d06cb023 Merge branch 'obsd-master' Thomas Adam 2019-12-27 20:01:24 +00:00
  • 4ea07716de Support regex search in copy mode, from Anindya Mukherjee in GitHub issue 2038. nicm 2019-12-27 18:42:49 +00:00
  • 0aa6c6f647 Merge branch 'obsd-master' Thomas Adam 2019-12-26 16:01:25 +00:00
  • 88ee5b1a73 Pass correct value into iterator callback for time formats. nicm 2019-12-26 14:48:29 +00:00
  • b931bbb319 Merge branch 'obsd-master' Thomas Adam 2019-12-26 12:01:26 +00:00
  • 817d199cbb Add a number of new formats to inspect what sessions and clients a window is present or active in. From Tyler Culp in GitHub issue 2034. nicm 2019-12-26 11:04:58 +00:00
  • 67d2408279 Merge branch 'obsd-master' Thomas Adam 2019-12-24 12:01:25 +00:00
  • 07e37479c2 Fix name of option, GitHub issue 2030. nicm 2019-12-24 09:57:11 +00:00
  • a6b1cbba02 Merge branch 'obsd-master' Thomas Adam 2019-12-21 18:01:24 +00:00
  • 5cd00eda0b Restore source-file -q behaviour, broken in r1.42; OK nicm@ tim 2019-12-21 17:30:48 +00:00
  • 745233d6a1 Merge branch 'obsd-master' Thomas Adam 2019-12-19 10:01:26 +00:00
  • 1764f66b7d When adding a list with multiple commands to the queue, the next item to insert after needs to be the last one added, not the first. Reported by Jason Kim in GitHub issue 2023. nicm 2019-12-19 09:22:33 +00:00
  • 54efe33799 Add back utempter code, reported by Peter Schellenbach. Nicholas Marriott 2019-12-18 15:58:06 +00:00
  • d0cd68d5e4 Merge branch 'obsd-master' Thomas Adam 2019-12-18 08:01:23 +00:00
  • ef54a08080 Do not rely on errno after glob(3) fails. nicm 2019-12-18 07:48:56 +00:00
  • 4223293ed8 Merge branch 'obsd-master' Thomas Adam 2019-12-17 12:01:24 +00:00
  • f8cb759bdb Use the message that has already been built rather than the va_list. nicm 2019-12-17 11:43:23 +00:00
  • 3879509426 Define FNM_CASEFOLD to 0 for AIX, from Eric N Vander Weele. Nicholas Marriott 2019-12-16 21:34:36 +00:00
  • 479d411dda Remove imsg.h. Nicholas Marriott 2019-12-16 20:01:26 +00:00
  • 52b6ca5706 Merge branch 'obsd-master' Thomas Adam 2019-12-16 18:01:31 +00:00
  • 1bdd4828bd If /dev/fd/X is a symlink and realpath() expands symlinks, /dev/fd/X ends up pointing to the wrong place before it is passed to the client. The path is only used internally so there is no real need for realpath(), remove it and move the get_path function to file.c where all the callers are. nicm 2019-12-16 16:39:03 +00:00
  • b4520aaf2c Need to include message size in the maximum buffer calculation. nicm 2019-12-16 16:09:28 +00:00
  • eaa58d28dc Instead of using large buffers in imsgs, add the data or path onto the end. nicm 2019-12-16 15:48:50 +00:00
  • e6b02dec19 Add to CHANGES. Nicholas Marriott 2019-12-13 11:31:53 +00:00
  • 00723f1f5c Merge branch 'obsd-master' Thomas Adam 2019-12-13 10:01:24 +00:00
  • 21f9b39f06 Show UTF-8 in choose-buffer mode. From KOIE Hidetaka. nicm 2019-12-13 09:15:13 +00:00
  • e24e9867ec Merge branch 'obsd-master' Thomas Adam 2019-12-13 08:01:24 +00:00
  • 6ce943f4d9 Need to check in the error callback also. nicm 2019-12-13 07:00:22 +00:00
  • 828001ecc5 Do not spin waiting for exit, instead check in the write callback. nicm 2019-12-13 06:55:12 +00:00
  • 58908b045b Merge branch 'obsd-master' Thomas Adam 2019-12-12 15:38:33 +00:00
  • dcf41ec927 Do not crash in tree modes if the pane is only 1 in width, reported by KOIE Hidetaka in GitHub issue 2015. nicm 2019-12-12 15:03:13 +00:00
  • 2b2b193791 Add function to the right file. nicm 2019-12-12 15:01:54 +00:00
  • 7922f4ee7b Merge branch 'obsd-master' Thomas Adam 2019-12-12 14:33:47 +00:00
  • 5134666702 Change source-file to use new file code which allows it to read from stdin. nicm 2019-12-12 12:49:36 +00:00
  • 268f2b047a Do not check if client is dead if it is NULL. nicm 2019-12-12 11:51:32 +00:00
  • c284ebe0ad Rewrite the code for reading and writing files. Now, if the client is not attached, the server process asks it to open the file, similar to how works for stdin, stdout, stderr. This makes special files like /dev/fd/X work (used by some shells). stdin, stdout and stderr and control mode are now just special cases of the same mechanism. This will also make it easier to use for other commands that read files such as source-file. nicm 2019-12-12 11:39:56 +00:00
  • 0d99519c3d Merge branch 'obsd-master' Thomas Adam 2019-12-11 20:01:25 +00:00
  • 64fb7e472a Tweak previous to check the wrapped flag and stop if not set. nicm 2019-12-11 18:30:29 +00:00
  • ab630f72ed Allow search across wrapped lines and fix some inconsistencies in how th position is represented, GitHub issue 2014 from Anindya Mukherjee. nicm 2019-12-11 18:23:34 +00:00
  • 96abf400a5 Merge branch 'obsd-master' Thomas Adam 2019-12-11 14:01:25 +00:00
  • f733d3f3eb Do not set cursor colour to default unless it has been changed, GitHub issue 2013. nicm 2019-12-11 12:13:37 +00:00
  • 6aeb679066 Add to CHANGES. Nicholas Marriott 2019-12-10 19:02:27 +00:00
  • 15d7e564dd Add ~/.config/tmux/tmux.conf to the default search path for configuration files (in Makefile.am, so portable tmux only). Nicholas Marriott 2019-12-10 16:31:01 +00:00
  • 5b2048fbb9 Merge branch 'obsd-master' Thomas Adam 2019-12-10 16:01:25 +00:00
  • 55eb3e4773 Make TMUX_CONF a list of files and expand leading $FOO or ~. nicm 2019-12-10 14:22:15 +00:00
  • 92ecd611f6 Check each _PATH_* define individually (Solaris has paths.h but not all of the defines). From Eric N Vander Weele. Nicholas Marriott 2019-12-03 18:53:23 +00:00
  • 875139f5fa Merge branch 'obsd-master' Thomas Adam 2019-12-03 12:01:26 +00:00
  • 7826d40ff9 Style nits in function arguments. nicm 2019-12-03 10:47:22 +00:00
  • edf96b06a5 Merge branch 'obsd-master' Thomas Adam 2019-12-02 20:01:24 +00:00
  • ec1b8e5f05 Remove client menu, I don't think it adds anything. nicm 2019-12-02 19:25:52 +00:00
  • 2173365f4f Fix keys in CHANGES. Nicholas Marriott 2019-12-01 21:15:21 +00:00
  • 7836779e21 Merge branch '3.0a-rc' Nicholas Marriott 2019-12-01 09:00:46 +00:00
  • 25ae028695 Add to CHANGES. 3.0a Nicholas Marriott 2019-12-01 08:53:10 +00:00
  • 1b0cc4503e REG_STARTEND is not portable, but it turns out we don't actually need it. From Evan Green, GitHub issue 1982. nicm 2019-11-27 20:54:30 +00:00
  • a52fe9cf7f Add to CHANGES. Nicholas Marriott 2019-12-01 08:50:45 +00:00
  • 866b053f25 Merge branch 'obsd-master' Thomas Adam 2019-11-29 18:01:24 +00:00
  • 48897fbc44 Fix respawn-pane/window if default-command is set, reported by Janos Barbero. nicm 2019-10-07 07:14:07 +00:00
  • 67d995d100 If a window appears in only one attached session, there is no point in worrying about which is the latest client (there is only one). nicm 2019-11-29 16:04:07 +00:00
  • ad98fad9a3 Do not crash when a format doesn't exist, reported by Thomas Sattler. nicm 2019-11-28 21:18:38 +00:00
  • 34084fe666 Merge branch 'obsd-master' Thomas Adam 2019-11-28 22:01:24 +00:00
  • c5d74b1deb Do not crash when a format doesn't exist, reported by Thomas Sattler. nicm 2019-11-28 21:18:38 +00:00
  • 3bb11ec484 Revert "add missing definition" Nicholas Marriott 2019-11-28 14:36:32 +00:00
  • 743939ec84 add missing definition Thomas Adam 2019-11-28 12:30:36 +00:00