Commit Graph

  • 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
  • e00730d149 Fix bad merge. Nicholas Marriott 2019-11-28 12:30:43 +00:00
  • 640149337f Missing after-kill-pane option. nicm 2019-11-28 10:55:45 +00:00
  • 5f5f029e3b Merge branch 'obsd-master' Thomas Adam 2019-11-28 12:18:41 +00:00
  • fa409194d3 Missing after-kill-pane option. nicm 2019-11-28 10:55:45 +00:00
  • 08e2828592 Parse out DA features. nicm 2019-11-28 10:17:22 +00:00
  • bc5881c4d2 Long lines and spacing fixes. nicm 2019-11-28 09:56:25 +00:00
  • c416fe0da4 Add xrecallocarray. nicm 2019-11-28 09:51:58 +00:00
  • 9ea05b2fb3 Bump the escape sequence timeout to five seconds to allow for longer legitimate sequences. nicm 2019-11-28 09:50:09 +00:00
  • 2349b1dbef Make a best effort to set xpixel and ypixel for each pane and add formats for them. nicm 2019-11-28 09:45:15 +00:00
  • 067604bf8c Store xpixel/ypixel from TIOCGWINSZ and add formats. nicm 2019-11-28 09:05:34 +00:00
  • 7fb8eec8f1 status-left and status-right need push-default also, reported by Eric Pruitt in GitHub issue 1989. nicm 2019-11-28 08:38:04 +00:00
  • c13838436e Merge branch 'obsd-master' Thomas Adam 2019-11-27 22:01:24 +00:00
  • 7a30e6b941 Merge branch '3.0-rc' into 3.0a-rc Nicholas Marriott 2019-11-27 20:55:19 +00:00
  • eb4d60b1ce 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
  • 0134574a67 3.0a. Nicholas Marriott 2019-11-27 20:49:59 +00:00
  • c942f11ba8 Use a malloc'd buffer for lsk since commands can be very long, from Gregory Pakosz. Nicholas Marriott 2019-11-27 20:48:30 +00:00
  • 5afe7eb850 Do not lazily use BUFSIZ for "I don't care what size" when building strings because it is only guaranteed to be 256 bytes and even the default 1024 is not always enough. Reported by Gregory Pakosz. nicm 2019-10-03 10:24:05 +00:00
  • b2fd161b07 Do not crash trying to fix layout size if only one cell, from Azat Khuzhin. nicm 2019-10-19 12:40:42 +00:00
  • d0655f321f Merge branch 'obsd-master' Thomas Adam 2019-11-26 16:01:25 +00:00
  • fef8ee23c0 Add default # and * binding with vi(1) keys. nicm 2019-11-26 15:35:56 +00:00
  • c16faa4fed Fixes to CHANGES. Nicholas Marriott 2019-11-26 14:12:05 +00:00
  • bbcb199174 3.0 version. Nicholas Marriott 2019-11-26 13:16:51 +00:00
  • 47c0405b33 Some old tmux versions can sometimes generate layout strings which have the incorrect size for the top cell. Previously tmux didn't care but now that panes can be partly hidden, the size matters and is checked more strictly. So add some code to fix up the most common problem and a sanity check to reject layouts with any other size problems. Reported by Aleksandrs Ledovskis in GitHub issue 1930. nicm 2019-10-14 09:16:48 +00:00
  • f378a0b24d Merge branch 'obsd-master' Thomas Adam 2019-11-26 00:01:25 +00:00
  • 58f870ef6e Don't use motion flag uninitialized. nicm 2019-11-25 22:38:36 +00:00
  • eaf526b1ea Merge branch 'obsd-master' Thomas Adam 2019-11-25 22:01:56 +00:00
  • 87a11a9214 Fix a warning in previous. nicm 2019-11-25 20:43:32 +00:00
  • c2fde58701 Do not clear search marks on cursor movement with vi(1) keys, from Eric Pruitt in GitHub issue 1985. nicm 2019-11-25 20:42:18 +00:00
  • daa93b3fdc Merge branch 'obsd-master' Thomas Adam 2019-11-25 16:01:27 +00:00
  • 1ebd8c1234 Add p format modifier for padding to width. nicm 2019-11-25 15:04:15 +00:00
  • 5d0504ee11 Allow multiple substitutions in a single format. nicm 2019-11-25 15:02:48 +00:00
  • 81d4f95c2f Merge branch 'obsd-master' Thomas Adam 2019-11-24 20:01:24 +00:00
  • 20c1f1aec6 Only substitute patterns starting with ^ once. nicm 2019-11-24 18:37:23 +00:00
  • 82d0d85675 Merge branch 'obsd-master' Thomas Adam 2019-11-20 12:01:23 +00:00
  • 3c312a9150 Do not check the client readonly flag when there is no client, GitHub issue 1980. nicm 2019-11-20 11:42:51 +00:00
  • 0ed96c4609 Update CHANGES. Nicholas Marriott 2019-11-18 12:56:10 +00:00
  • 0d3f306c8e Merge branch 'obsd-master' Thomas Adam 2019-11-18 10:01:25 +00:00
  • 350a434939 Add -f for full size to join-pane (like split-window), from Theo Buehler. nicm 2019-11-18 09:43:31 +00:00
  • 4bc445f080 Keep modifiers on backspace when translating it. nicm 2019-11-18 09:42:09 +00:00
  • dbdff241b2 Merge branch 'obsd-master' Thomas Adam 2019-11-15 12:01:27 +00:00
  • 5dfe9db788 Do not add path if it is NULL, duh. nicm 2019-11-15 11:21:32 +00:00
  • f3dc38dcae Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path). nicm 2019-11-15 11:16:53 +00:00
  • 48cbbb8757 Merge branch 'obsd-master' Thomas Adam 2019-11-14 18:01:24 +00:00
  • 1f966c495c Change window-size default from smallest to latest. nicm 2019-11-14 16:23:23 +00:00
  • b67fd8f472 Merge branch 'obsd-master' Thomas Adam 2019-11-14 16:01:25 +00:00
  • 16b7719418 Fix parsing of DA with only one argument in the response and add 65 for VT520. nicm 2019-11-14 15:37:19 +00:00
  • 518a687886 Merge branch 'obsd-master' Thomas Adam 2019-11-14 10:01:29 +00:00
  • 2dbf062a89 Change new-session -A without a session name (that is, no -s option also) to attach to the best existing session like attach-session rather than creating a new one. nicm 2019-11-14 08:00:30 +00:00
  • eb399e64d5 CUB and CUF are also limited by the margins so use CUP instead when margins are enabled (we already do this for linefeed). nicm 2019-11-14 07:56:32 +00:00
  • 08b07b1a08 Add an option to set the key sent by backspace for those whose system uses ^H rather than ^?. GitHub issue 1969. nicm 2019-11-14 07:55:01 +00:00
  • eb215d3d3f Merge branch 'obsd-master' Thomas Adam 2019-11-07 08:01:26 +00:00
  • c225262e13 Add -F flag to send-keys to expand formats in search-backward and forward copy mode commands, this makes it easier to use the cursor_word and cursor_line formats. From Anindya Mukherjee in GitHub issue 1964. nicm 2019-11-07 07:11:25 +00:00
  • 4408df1e8a Merge branch 'obsd-master' Thomas Adam 2019-11-01 22:01:24 +00:00
  • bad95db878 Limit lazy resize to panes in attached sessions only - those in unattached are likely to have been resized by something like split-window where the user probably wants the resize to happen immediately. GitHub issue 1963. nicm 2019-11-01 20:26:21 +00:00
  • 4fc8741794 Merge branch 'obsd-master' Thomas Adam 2019-11-01 10:01:25 +00:00
  • d9c95c900c Handle the various different forms of rgb colour strings. nicm 2019-11-01 09:09:53 +00:00
  • a1006db91b Create FUNDING.yml Nicholas Marriott 2019-10-29 16:59:15 +00:00
  • 57948a0dfc Merge branch 'obsd-master' Thomas Adam 2019-10-28 10:01:25 +00:00
  • ccdebead79 Start with empty rather than NULL window name to avoid NULL printf if window_name is evaluated early. Reported by Mikolaj Kucharski. nicm 2019-10-28 09:07:59 +00:00
  • 4e5f80dc62 Merge branch 'obsd-master' Thomas Adam 2019-10-23 16:01:25 +01:00
  • 6700018ce5 Document Any key, from Jason Felice. nicm 2019-10-23 14:10:13 +00:00
  • b5de0a20d8 Merge branch 'obsd-master' Thomas Adam 2019-10-23 10:01:27 +01:00
  • f7fb5df543 Use the existing code in format.c to add foramts for word and line at cursor position in copy mode, from Anindya Mukherjee. nicm 2019-10-23 07:42:05 +00:00
  • 004ee66227 Merge branch 'obsd-master' Thomas Adam 2019-10-19 22:01:25 +01:00