Commit Graph

  • 158f0e8c41 Start sync before drawing popup. nicm 2021-08-17 07:14:33 +00:00
  • f2d4a1f022 Needs fcntl.h. Nicholas Marriott 2021-08-16 13:51:55 +01:00
  • 21ce1e04fe Fuzzer needs some other bits it seems. Nicholas Marriott 2021-08-14 22:30:20 +01:00
  • c1be1b351d Minor cleanups, GitHub issue 2824. Nicholas Marriott 2021-08-14 18:33:13 +01:00
  • 22e5fc02c3 Merge branch 'obsd-master' into master Thomas Adam 2021-08-14 18:01:17 +01:00
  • 30786abe0e Some other missing palette NULL checks, from oss-fuzz. nicm 2021-08-14 16:26:29 +00:00
  • 3f8954b11b Merge branch 'obsd-master' into master Thomas Adam 2021-08-14 16:01:17 +01:00
  • befe7cb1c5 Do not use NULL palette when clearing. nicm 2021-08-14 14:00:07 +00:00
  • 65a539c02e Merge branch 'obsd-master' into master Thomas Adam 2021-08-14 10:01:18 +01:00
  • 4cc6db7281 Missing argument specifier for -c. nicm 2021-08-14 08:06:37 +00:00
  • 79f075bf1b Merge branch 'obsd-master' into master Thomas Adam 2021-08-14 01:35:27 +01:00
  • 54773d23b5 Merge branch 'obsd-master' into master Thomas Adam 2021-08-14 01:34:54 +01:00
  • 7d7d7c9605 Tweak how mouse works on popup: only Meta alone resizes or moves, not Meta with other modifiers; button 2 on the left or top border opens menu, right or bottom resizes; button 1 on any border moves. nicm 2021-08-13 23:05:40 +00:00
  • 63aa968642 Check callback needs to only return 0 (text should be suppressed) if menu returns 0, otherwise it should check the popup also. nicm 2021-08-13 20:04:45 +00:00
  • 7a0cec5ecf Fill in some other bits on new panes. nicm 2021-08-13 19:55:11 +00:00
  • 2588c3e52e Add menu options to convert a popup into a pane. nicm 2021-08-13 19:27:25 +00:00
  • 92615b534a Adjust overlay check callback before drawing data from pty. nicm 2021-08-13 19:25:24 +00:00
  • 7789639b5d Add a menu when a popup is present (mouse only for now). nicm 2021-08-13 18:54:54 +00:00
  • 614611a8bd Add -B flag to remove border from popup. nicm 2021-08-13 17:03:29 +00:00
  • 4c07367bfe Fix fuzzer wrapper. Nicholas Marriott 2021-08-13 13:45:45 +01:00
  • 13a0da205b Break message type stuff out into its own header. nicm 2021-08-13 07:37:58 +00:00
  • 2bb0b9d6c5 Change focus to be driven by events rather than walking all panes at end of event loop, this way the ordering of in and out can be enforced. GitHub issue 2808. nicm 2021-08-13 06:52:51 +00:00
  • a2b8506917 Set return code for confirm-before and make command-prompt also block, GitHub issue 2822. nicm 2021-08-13 06:50:42 +00:00
  • f725f9bc8a Merge branch 'obsd-master' into master Thomas Adam 2021-08-13 00:01:19 +01:00
  • 94d96c6179 Merge branch 'obsd-master' into master Thomas Adam 2021-08-12 22:01:22 +01:00
  • e2f6f58fe5 Make newline a style delimiter as well so they can cross multiple lines for readability. nicm 2021-08-12 20:46:30 +00:00
  • db9195463d Now that styles can contain formats, they need to be expanded when inserted into the status line. nicm 2021-08-12 20:44:49 +00:00
  • 6feb8f6505 Use COLOUR_DEFAULT not hardcoded 8. nicm 2021-08-12 20:09:34 +00:00
  • 9b00472820 Evaluate styles with the pane variables. nicm 2021-08-12 19:47:05 +00:00
  • 9d7b1960c2 Merge branch 'obsd-master' into master Thomas Adam 2021-08-12 14:01:18 +01:00
  • 5d451551b6 Restore saved cursor position after a ZWJ rather than recalculating it. nicm 2021-08-12 11:35:53 +00:00
  • fada3eb932 Merge branch 'obsd-master' into master Thomas Adam 2021-08-12 10:01:22 +01:00
  • 26773ea9ef Do not dereference pane when it is NULL, fixes a crash when creating a hook from the config, GitHub issue 2820. nicm 2021-08-12 08:10:20 +00:00
  • 163908fe8a Move hook format setup earlier and add a hook_client, GitHub issue 2809. nicm 2021-08-12 08:05:11 +00:00
  • 44ada9cd67 Merge branch 'obsd-master' into master Thomas Adam 2021-08-12 00:01:26 +01:00
  • 7eea3d7ab8 Break the colour palette into a struct rather than just a single array and use that to support the OSC palette-setting sequences in popups. Also add a pane-colours array option to specify the defaults. GitHub issue 2815. nicm 2021-08-11 20:49:55 +00:00
  • 01fd4b997e Add pipe variants of the line copy commands. While here make the command list less unreadable. GitHub issue 2813. nicm 2021-08-11 20:35:46 +00:00
  • e9d49161e0 Merge branch 'obsd-master' into master Thomas Adam 2021-08-11 12:01:20 +01:00
  • 9013600074 Return to applying pane-border-style to the area outside panes, GitHub issue 2816. nicm 2021-08-11 09:05:21 +00:00
  • 7a06b92061 Merge branch 'obsd-master' into master Thomas Adam 2021-08-11 10:01:20 +01:00
  • 338ec859a4 Make confirm-before optionally block the invoking client like run-shell, GitHub issue 2819. nicm 2021-08-11 08:40:58 +00:00
  • f6755c6f2c OSC 52 can be long enough to make tmux think the output buffer is too big, so treat it as a redraw. GitHub issue 2814. nicm 2021-08-11 07:51:31 +00:00
  • 705411ea5c Tweak comment about logs. Nicholas Marriott 2021-08-10 08:14:01 +01:00
  • 9d80ec6cc9 Merge branch 'obsd-master' into master Thomas Adam 2021-08-09 16:01:35 +01:00
  • be5988457f Change copy-line and copy-end-of-line not to cancel and add -and-cancel variants, like the other copy commands. GitHub issue 2799. nicm 2021-08-09 13:08:08 +00:00
  • 33e332428c Merge branch 'obsd-master' into master Thomas Adam 2021-08-06 12:01:24 +01:00
  • 24cd6851f6 Add basic support for zero width joiners, GitHub issues 1605 and 2784. nicm 2021-08-06 09:34:09 +00:00
  • 19812b2d29 Add client focus hooks. nicm 2021-08-06 09:19:02 +00:00
  • 4bccff9556 Merge branch 'obsd-master' into master Thomas Adam 2021-08-06 10:01:17 +01:00
  • ef5602a590 Another minor fix - do not draw positions that are under the popup with spaces, from Anindya Mukherjee. Also a typo fix from Linus Arver. nicm 2021-08-06 07:32:21 +00:00
  • acd70ea643 Merge branch 'obsd-master' into master Thomas Adam 2021-08-06 06:01:18 +01:00
  • 950d3c5bbc Tweak previous not to replace complete characters with spaces. nicm 2021-08-06 03:29:15 +00:00
  • 97b5962ab1 Correctly draw wide characters that are partially obscured. nicm 2021-08-06 03:13:05 +00:00
  • e3fa6cd96c Merge branch 'obsd-master' into master Thomas Adam 2021-08-05 12:01:19 +01:00
  • 93cc8df692 Do not freeze output in panes when a popup is open, let them continue to redraw. From Anindya Mukherjee . nicm 2021-08-05 09:43:51 +00:00
  • 4b88872c85 Merge branch 'obsd-master' into master Thomas Adam 2021-08-04 10:01:25 +01:00
  • c063831df5 Do not configure on macOS without the user making a choice about utf8proc. Nicholas Marriott 2021-08-04 09:48:42 +01:00
  • 42490f4750 Add a client-active hook, from ncfavier in GitHub issue 2803. nicm 2021-08-04 08:07:19 +00:00
  • 63f9f3113c Merge branch 'obsd-master' into master Thomas Adam 2021-07-28 10:01:19 +01:00
  • e37aa45681 Make window-linked and window-unlinked window options, GitHub issue 2790. nicm 2021-07-28 07:06:54 +00:00
  • 7cbf4c9027 Merge branch 'obsd-master' into master Thomas Adam 2021-07-21 10:01:24 +01:00
  • 78ec057916 Do not add height twice when calculating popup_mouse_top, from M Kelly. nicm 2021-07-21 08:09:43 +00:00
  • f0e02387b2 Do not close popups on resize, instead adjust them to fit, from Anindya Mukherjee. nicm 2021-07-21 08:06:36 +00:00
  • e3ff887d2a Merge branch 'obsd-master' into master Thomas Adam 2021-07-14 12:01:21 +01:00
  • 0ea6cdca90 Need all of the TAILQ bits. Nicholas Marriott 2021-07-14 11:09:28 +01:00
  • d723466df2 Pick default-terminal from the first of tmux-256color, tmux, screen-256color, screen that is available on the build system. Nicholas Marriott 2021-07-14 11:03:19 +01:00
  • 732c72c98e Move default value for TERM into tmux.h. nicm 2021-07-14 08:56:00 +00:00
  • bb4bc8caf4 Merge branch 'obsd-master' into master Thomas Adam 2021-07-14 00:01:21 +01:00
  • 38c5788232 Give #() commands a one second grace period where the output is empty before telling the user they aren't doing anything. GitHub issue 2774. nicm 2021-07-13 22:09:29 +00:00
  • 7496e70bd7 Merge branch 'obsd-master' into master Thomas Adam 2021-07-13 12:01:19 +01:00
  • df3fe2aa72 Only use client for sizing when not detached, GitHub issue 2772. nicm 2021-07-13 10:38:57 +00:00
  • c1d5dda62e Merge branch 'obsd-master' into master Thomas Adam 2021-07-08 14:01:21 +01:00
  • 51915b9b0a Fix mouse_word format now word-separators has no space and position of menu if too close to the bottom. nicm 2021-07-08 11:14:53 +00:00
  • ed575182e3 Merge branch 'obsd-master' into master Thomas Adam 2021-07-06 10:01:22 +01:00
  • 32f2d9d089 Improve error reporting when the tmux /tmp directory cannot be created or used, GitHub issue 2765 from Uwe Kleine-Koenig. nicm 2021-07-06 08:26:00 +00:00
  • 35c2958ae4 Forbid empty session names, GitHub issue 2758. nicm 2021-07-06 08:18:38 +00:00
  • b1a8c0fe02 Fix crosscompiling, Marco A L Barbosa. Nicholas Marriott 2021-06-22 12:16:48 +01:00
  • 3dfb77416f Merge branch 'obsd-master' into master Thomas Adam 2021-06-18 09:52:47 +01:00
  • 1d4296f17f Mention %1 under choose-tree also. nicm 2021-06-18 07:46:54 +00:00
  • a83fb8127a Minor fixes to option descriptions. nicm 2021-06-16 11:57:04 +00:00
  • 9f3874e5c7 Pass Ctrl keys through as is when given as hex, GitHub issue 2724. nicm 2021-06-16 08:37:58 +00:00
  • 87521214d3 Fix incorrect option name, from Gregory Pakosz. Nicholas Marriott 2021-06-15 09:44:56 +01:00
  • 6a8d848a3e Once a day. Nicholas Marriott 2021-06-11 08:30:51 +01:00
  • 0d0683c28a fix some formatting errors; jmc 2021-06-10 13:12:31 +00:00
  • 96ad8280b2 Tweak. Nicholas Marriott 2021-06-10 13:05:22 +01:00
  • 0490707671 Move lock.yml. Nicholas Marriott 2021-06-10 09:56:35 +01:00
  • ac98385e55 Merge branch '3.2a' Nicholas Marriott 2021-06-10 09:26:38 +01:00
  • 57aaad2ddb Update CHANGES. Nicholas Marriott 2021-06-10 09:25:50 +01:00
  • 3b929f332a Update CHANGES. 3.2a Nicholas Marriott 2021-06-10 09:24:57 +01:00
  • c827f5092d Do not clear region based on current cursor position, this is not necessary anymore and causes problems, GitHub issue 2735. Nicholas Marriott 2021-06-09 14:46:24 +01:00
  • d8feffd2bf Feature for the mouse since FreeBSD termcap does not have kmous. Nicholas Marriott 2021-06-08 10:49:40 +01:00
  • f48c46a76a Fix rectangle selection, from Anindya Mukherjee, GitHub issue 2709. Nicholas Marriott 2021-05-19 09:05:53 +01:00
  • f06ee2b87b Bump FORMAT_LOOOP_LIMIT and add a log message when hit, GitHub issue 2715. Nicholas Marriott 2021-05-19 09:04:45 +01:00
  • 9b4c05b6b9 Er, fix it properly. Nicholas Marriott 2021-05-17 06:59:29 +01:00
  • 3b9b823df5 Fix <= operator. Nicholas Marriott 2021-05-17 06:58:45 +01:00
  • 8aa34f616f Do not use NULL client when source-file finishes, GitHub issue 2707. Nicholas Marriott 2021-05-12 07:08:58 +01:00
  • 5ea6ccbb7f Do not expand the file given with -f so it can contain :s. Nicholas Marriott 2021-05-10 07:51:30 +01:00
  • 434ac8734a Looks like evports on SunOS are broken also, disable them. GitHub issue 2702. Nicholas Marriott 2021-05-10 07:42:35 +01:00
  • 47af583a50 Remove old shift function keys which interfere with xterm keys now. GitHub issue 2696. Nicholas Marriott 2021-05-05 07:23:23 +01:00
  • aaf87abfb4 Fire check callback after cleaning up event so it does not get stuck, from Jeongho Jang in GitHub issue 2695. Nicholas Marriott 2021-05-03 10:49:51 +01:00