Commit Graph

  • 772dacc89b Tweak title. Nicholas Marriott 2017-06-07 11:27:04 +01:00
  • 696d2889f4 Mention U8, from Carles Cufi. Nicholas Marriott 2017-06-07 11:18:38 +01:00
  • 9316b9b57a Typo. Nicholas Marriott 2017-06-07 11:15:36 +01:00
  • fb288ef9a7 Remove a bunch of out-of-date stuff from the FAQ or stuff that is documentation for other programs. Nicholas Marriott 2017-06-07 11:13:05 +01:00
  • 7077980055 Merge branch 'obsd-master' Thomas Adam 2017-06-06 18:01:13 +01:00
  • 50b27c8c0d Continue and pass keys through if they are repeated keys, so that the first key after a repeated key doesn't get lost. nicm 2017-06-06 15:49:35 +00:00
  • bbc35b0b19 Do not pass a state into commands when fired on individual items in tree mode, rely on the %% target substitution in the command for the chosen pane and leave the default target as the current pane (where the mode is). Otherwise, joinp and similar end up with -t and -s the same. Reported by Jacob Niehus in GitHub issue 960. nicm 2017-06-06 15:07:35 +00:00
  • d7280917da Delete input event when evbuffer_read() fails to avoid just spinning around a dead file descriptor. Seems to fix a problem reported by Greg Hurrell in GitHub issue 941. nicm 2017-06-06 14:53:28 +00:00
  • 78352fdd32 Add a small dance to daemon() to reattach tmux to the user's namespace (which allows access to the clipboard) on OS X 10.10 and above. Nicholas Marriott 2017-06-06 07:59:53 +01:00
  • 63f8a2cb89 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2017-06-05 12:02:10 +01:00
  • e1686c26dd Update CHANGES. Nicholas Marriott 2017-06-05 12:01:58 +01:00
  • a999f6f876 Linux build fixes Thomas Adam 2017-06-05 12:00:52 +01:00
  • e62e17d046 Merge branch 'obsd-master' Thomas Adam 2017-06-05 11:59:38 +01:00
  • 2f04108f3a Do not leak command, from David CARLIER. nicm 2017-06-04 15:36:33 +00:00
  • 1c83c0ebcd tparm() fix for Solaris. Nicholas Marriott 2017-06-04 11:27:35 +01:00
  • 8ec6c323b6 signal.h for utempter, from David CARLIER. Nicholas Marriott 2017-06-04 11:23:48 +01:00
  • c5b7faaefc Add a timeout to prevent the sequences which wait for a specific terminator (OSC, APC and DCS) waiting forever, which helps to avoid garbage (cat /dev/random) locking up panes completely. This (and the last commit) prompted by a discussion with theo. nicm 2017-06-04 09:22:34 +00:00
  • 467ece53e6 Remove unused variable. nicm 2017-06-04 09:02:57 +00:00
  • 8149bc3fa6 Be more strict about escape sequences that rename windows or set titles: ignore any that not valid UTF-8 outright, and for good measure pass the result through our UTF-8-aware vis(3). nicm 2017-06-04 09:02:36 +00:00
  • adf5628087 Support SIGUSR2 to stop and start logging for an existing server. Also we currently only have two log levels so just use -v and -vv rather than -v and -vvvv, and clarify the man page entry for -v. nicm 2017-06-04 08:25:57 +00:00
  • 67cd496b39 Update CHANGES. Nicholas Marriott 2017-06-04 09:09:28 +01:00
  • 184039044a Typo/style; plus man page escaping from jmc. nicm 2017-06-04 08:02:20 +00:00
  • 757eb060cd Merge branch 'obsd-master' Thomas Adam 2017-06-03 20:01:10 +01:00
  • 3442066054 Make set-clipboard a three-state option so tmux itself can ignore the sequencess. nicm 2017-06-03 17:43:01 +00:00
  • 80235d6fdd Merge branch 'obsd-master' Thomas Adam 2017-06-03 10:01:10 +01:00
  • 493a1846d0 Foreground colours with the bright attribute set need to use the bright entries in the palette. GitHub issue 954. nicm 2017-06-03 07:15:23 +00:00
  • 73b9328c1f Merge branch 'obsd-master' Thomas Adam 2017-06-01 18:29:36 +01:00
  • 248aa54bfd Style and spacing nits. nicm 2017-05-31 17:56:48 +00:00
  • 70cc8f2c7e Shut up a warning. nicm 2017-05-31 16:44:33 +00:00
  • 92d86586b7 Update TODO. Nicholas Marriott 2017-05-31 17:38:34 +01:00
  • a8e0363914 Add setrgbf setrgbb. Nicholas Marriott 2017-05-31 17:22:43 +01:00
  • 35008200bd Differences to OpenBSD. Nicholas Marriott 2017-05-31 16:34:39 +01:00
  • 113356c848 Build fixes. Nicholas Marriott 2017-05-31 16:29:07 +01:00
  • b3d0ed4057 time.h here too. nicm 2017-05-31 15:27:57 +00:00
  • 61c0189bb1 Need time.h. nicm 2017-05-31 15:26:41 +00:00
  • f17ecaa495 Merge branch 'obsd-master' Thomas Adam 2017-05-31 15:56:13 +01:00
  • 9c4d0d454a Some changes that will appear when we sync up. Nicholas Marriott 2017-05-31 13:56:07 +01:00
  • d60663ea86 Some applications like vi(1) and tmux until 10 minutes or so ago, do not redraw on SIGWINCH if the size returns to the original size between the original SIGWINCH and when they get around to calling TIOCGWINSZ. So use the existing resize timer to introduce a small delay between the two resizes. nicm 2017-05-31 11:00:00 +00:00
  • ea6428a5d2 It is not OK to ignore SIGWINCH if SIOCGWINSZ reports the size has unchanged, because it may have changed and changed back in the time between us getting the signal and calling ioctl(). Always redraw when we see SIGWINCH. nicm 2017-05-31 10:29:15 +00:00
  • 80c6b487dc Because we defer actually resizing applications (calling TIOCSWINSZ) until the end of the server loop, tmux may have gone through several internal resizes in between. This can be a problem if the final size is the same as the initial size (what the application things it currently is), because the application may choose not to redraw, assuming the screen state is unchanged, when in fact tmux has thrown away parts of the screen, assuming the application will redraw them. nicm 2017-05-31 10:15:51 +00:00
  • 7eb496c00c Look for setrgbf and setrgbb terminfo extensions for RGB colour. This is the most reasonable of the various (some bizarre) suggestions for capabilities. nicm 2017-05-31 08:43:44 +00:00
  • aad4e4ddb1 Rewrite of choose mode, both to simplify and tidy the code and to add some modern features. nicm 2017-05-30 21:44:59 +00:00
  • cea83c0e1f Merge branch 'obsd-master' Thomas Adam 2017-05-30 10:01:12 +01:00
  • bd39fcbeea Preserve search string when entering prompt again. nicm 2017-05-30 08:13:48 +00:00
  • 0d073907b5 Merge branch 'obsd-master' Thomas Adam 2017-05-30 00:01:14 +01:00
  • 5ee6dc2120 Merge branch 'obsd-master' Thomas Adam 2017-05-29 22:01:15 +01:00
  • 64552ae304 Add a flag to stop the prompt input being expanded. nicm 2017-05-29 20:42:53 +00:00
  • b95e5827c1 Store a copy of the old status line, will be needed soon for new choose mode. nicm 2017-05-29 20:41:29 +00:00
  • 8a214b2f8e Function to count clients. nicm 2017-05-29 20:37:30 +00:00
  • 5bc5fe5e7e Merge branch 'obsd-master' Thomas Adam 2017-05-29 20:01:12 +01:00
  • a2ace9da24 Add ||, && format operators and C: to search pane content. nicm 2017-05-29 18:06:34 +00:00
  • d3959a2118 Merge branch 'obsd-master' Thomas Adam 2017-05-29 18:01:14 +01:00
  • 1257501499 Add m: for fnmatch(3) format matching. nicm 2017-05-29 15:43:48 +00:00
  • bfd7209053 Merge branch 'obsd-master' Thomas Adam 2017-05-29 10:01:15 +01:00
  • 1883d299bf Do not factor in screen_hsize() for the visible copy mode screen when adjusting the selection, it should never have any useful history (and when it does, after resize, we shouldn't use it). From Michal Mazurek. nicm 2017-05-29 07:58:33 +00:00
  • 15253448af Tweak text to mention initial size, from John Hood. nicm 2017-05-29 07:46:32 +00:00
  • b017dc7e32 Update release text. Nicholas Marriott 2017-05-29 08:40:33 +01:00
  • b5a6458cde Merge branch '2.5-rc' Nicholas Marriott 2017-05-29 08:23:03 +01:00
  • caa90735cf 2.5. 2.5 Nicholas Marriott 2017-05-29 08:12:25 +01:00
  • de45957c42 Add to CHANGES. Nicholas Marriott 2017-05-29 08:11:47 +01:00
  • f4a42738af Merge branch 'obsd-master' Thomas Adam 2017-05-29 02:01:15 +01:00
  • d5158620bb Support OSC 10 and 11 to set foreground and background colours, from "bertnp" in GitHub issue 942. nicm 2017-05-28 23:23:40 +00:00
  • bf5a196c78 Changes in master. Nicholas Marriott 2017-05-28 22:10:17 +01:00
  • 5d7dfefa36 Merge branch 'obsd-master' Thomas Adam 2017-05-28 22:01:11 +01:00
  • dbc8cae18c Change so that sessions created detached (-d or no client) are always 80x24 and the status line is not applied until they attach. Also make -x and -y work for control clients whether the session is detached or not. nicm 2017-05-28 19:46:55 +00:00
  • 1e1e0f1fbb Add test for -x and -y too. Nicholas Marriott 2017-05-28 20:15:45 +01:00
  • 385bf084a5 Also recalculate session sizes when refreh-client -C is used. GitHub issue 947. nicm 2017-05-28 19:00:52 +00:00
  • eb1f362687 Do not need /dev/null. Nicholas Marriott 2017-05-28 19:53:08 +01:00
  • 5386e6583d Add some tests. Nicholas Marriott 2017-05-28 19:19:10 +01:00
  • d1497527c6 Merge branch 'obsd-master' Thomas Adam 2017-05-17 18:01:14 +01:00
  • 91d202da7e Tidy command prompt callbacks and pass in the client. nicm 2017-05-17 15:20:23 +00:00
  • 3888bf9d12 Need to check libutil for fparseln. Nicholas Marriott 2017-05-17 12:48:42 +01:00
  • 3df4e78492 Merge branch 'obsd-master' Thomas Adam 2017-05-16 16:01:28 +01:00
  • b74b6dc77f Missed during merge. Nicholas Marriott 2017-05-16 14:15:35 +01:00
  • 31625c2d17 Line length and spaces to tabs. nicm 2017-05-16 12:57:26 +00:00
  • dcdaf5c8b9 Merge branch 'obsd-master' Thomas Adam 2017-05-15 20:01:14 +01:00
  • 36181775cd Merge branch 'obsd-master' Thomas Adam 2017-05-15 18:01:14 +01:00
  • 1ba7f1d03f Check the terminfo(5) U8 capability and disable using UTF-8 for ACS if it is present and zero. This is useful for users with terminals or fonts that do not correctly support UTF-8 line drawing characters. GitHub issue 927, reported by Hiroaki Yamazoe and Akinori Hattori. nicm 2017-05-15 16:44:04 +00:00
  • b160de5cb4 Notify layout changed when choosing predefined layouts, from Joshua Brot. nicm 2017-05-15 14:57:29 +00:00
  • 7edaedf3a1 Merge branch 'obsd-master' Thomas Adam 2017-05-15 10:01:16 +01:00
  • cb5fcb3d22 The Konsole SU bug means it can't clear the entire scroll region (it ignores if >= size, not if > as I first thought). So we can't effectively fix it in code - remove the workarounds which just cause bugs on other terminals. nicm 2017-05-15 07:54:44 +00:00
  • 58f8421eac Merge branch 'obsd-master' Thomas Adam 2017-05-13 10:01:16 +01:00
  • 7a4c66b7f5 Scroll the right number of lines off the region when clearing. nicm 2017-05-13 07:41:59 +00:00
  • d58c3793d6 Some other unused variables. nicm 2017-05-13 07:30:50 +00:00
  • ea190d862a Merge branch '2.5-rc' Nicholas Marriott 2017-05-13 08:20:01 +01:00
  • 0f26739c9f 2.5-rc2. Nicholas Marriott 2017-05-13 08:17:01 +01:00
  • ae2c5ad768 Reset updated flag when restarting job so new output is detected, reported by Gregory Pakosz in GitHub issue 922. Nicholas Marriott 2017-05-13 08:16:11 +01:00
  • 9f9f8c8e76 Merge branch 'obsd-master' Thomas Adam 2017-05-13 02:01:13 +01:00
  • 50f1f1dce9 Compare >= for columns not >. nicm 2017-05-12 23:10:19 +00:00
  • 0264ef094a Can scroll away full lines to clear them too. nicm 2017-05-12 23:06:43 +00:00
  • f688653710 Remove an unused variable. nicm 2017-05-12 22:43:15 +00:00
  • 886d896098 Merge branch 'obsd-master' Thomas Adam 2017-05-12 18:01:14 +01:00
  • 8331000764 Merge branch '2.5-rc' Nicholas Marriott 2017-05-12 16:18:31 +01:00
  • 0cd74723e1 When expanding a line in order to clear it, we need to use the default background colour - there may be portions that we do not want to clear with the new background colour. nicm 2017-05-12 15:18:13 +00:00
  • 2bff5e7867 ECH needs to use background colour. Nicholas Marriott 2017-05-12 16:16:16 +01:00
  • 90f2a417af Need to clear tty context before using it. nicm 2017-05-12 13:29:05 +00:00
  • 7c07f5f640 Cannot rely on cursor position after DL and IL (some terminals move to column 0, some do not). nicm 2017-05-12 14:13:54 +00:00
  • 20e30593a5 Merge branch 'obsd-master' Thomas Adam 2017-05-12 16:01:14 +01:00
  • e2a18e2b37 Need to store bg for ECH. nicm 2017-05-12 14:56:56 +00:00
  • da724fe1c0 Cannot rely on cursor position after DL and IL (some terminals move to column 0, some do not). nicm 2017-05-12 14:13:54 +00:00