Commit Graph

  • 1decccace7 Update version. Nicholas Marriott 2025-11-26 08:44:41 +00:00
  • ee53d49059 Merge branch 'tmux-3.6' Nicholas Marriott 2025-11-26 08:44:18 +00:00
  • 0dac7fe434 Add to CHANGES. 3.6 Nicholas Marriott 2025-11-26 08:34:33 +00:00
  • a6690032ad Add seconds options for clock mode, from augustus7613 dot mail at pm dot me in GitHub issue 4697. nicm 2025-11-25 21:24:27 +00:00
  • f949f9a23a Merge branch 'obsd-master' Thomas Adam 2025-11-26 00:01:08 +00:00
  • 00cef3e6be Add to CHANGES. Nicholas Marriott 2025-11-25 22:07:09 +00:00
  • 3f4a8713c9 Merge branch 'master' into tmux-3.6 Nicholas Marriott 2025-11-25 22:06:41 +00:00
  • 7c188aec3c Merge branch 'obsd-master' Thomas Adam 2025-11-25 22:01:08 +00:00
  • f0dec832b8 Add seconds options for clock mode, from augustus7613 dot mail at pm dot me in GitHub issue 4697. nicm 2025-11-25 21:24:27 +00:00
  • ca74fa1db0 Update version and CHANGES. Nicholas Marriott 2025-11-25 21:21:59 +00:00
  • 987986631d Merge tag '3.5a' Nicholas Marriott 2025-11-25 20:42:10 +00:00
  • 1d89233047 Add a resize callback for menus so that they are correctly moved on resize. From m-einfalt at gmx dot de in GitHub issue 4696. nicm 2025-11-25 20:27:23 +00:00
  • a6ec2b76c2 Merge branch 'tmux:master' into feature-floating-window-panes Michael Grant 2025-11-19 14:23:05 +00:00
  • 348f16093c Merge branch 'obsd-master' Thomas Adam 2025-11-18 10:01:07 +00:00
  • 2a3ec87887 Make -v to source-file pass through to subsequent source-file commands, GitHub issue 4216. nicm 2025-11-18 08:42:09 +00:00
  • b52dcff745 Allow show-messages to work without a client. nicm 2025-11-18 08:37:54 +00:00
  • bc01b300c4 Merge branch 'tmux:master' into feature-floating-window-panes Michael Grant 2025-11-14 21:10:00 +00:00
  • c8d4d8cb66 Bugfix fix some uninitialised variable warnings. Michael Grant 2025-11-14 11:02:12 +01:00
  • f372112a8d Merge branch 'obsd-master' Thomas Adam 2025-11-14 10:01:08 +00:00
  • 315202b007 Merge branch 'tmux:master' into feature-floating-window-panes Michael Grant 2025-11-14 09:29:06 +00:00
  • 72117debf7 Send matching terminator on queued requests, reported by Henry Qin. nicm 2025-11-14 07:55:23 +00:00
  • 2f3c71595b Merge branch 'obsd-master' Thomas Adam 2025-11-13 16:01:07 +00:00
  • 113aaf37fc When copying a line from one screen to another, stop only when both source and target are beyond the allocated line length. Fixes problems with trailing spaces on pane-border-format. GitHub issue 4688 from Dmitry Ryabkov. nicm 2025-11-13 13:08:44 +00:00
  • 768042d29d Fix build afte merge, from Vladimir Lomov. Nicholas Marriott 2025-11-13 07:18:53 +00:00
  • db274f9c39 Merge branch 'obsd-master' Thomas Adam 2025-11-12 21:26:29 +00:00
  • 66279c124e Make requests to the external terminal one queue instead of one by type, and include any other requests as well so that ordering is maintained. nicm 2025-11-12 20:41:06 +00:00
  • b335419505 Merge branch 'obsd-master' Thomas Adam 2025-11-12 16:01:09 +00:00
  • 3c9e10139f If display-popup is used inside a popup, modify that popup. From m-einfalt at gmx dot de in GitHub issue 4678. nicm 2025-11-12 13:47:51 +00:00
  • 34898c89cd Merge branch 'obsd-master' Thomas Adam 2025-11-12 10:01:08 +00:00
  • 40600eebfa Do not send theme updates to panes that have exited, GitHub issue 4671. nicm 2025-11-12 08:06:33 +00:00
  • 12497ecade Convert all keys for backspace, not just A-Z. nicm 2025-11-12 07:54:52 +00:00
  • 9e21f426c0 Add a command to explcitly set the selection mode in copy mode, GitHub issue 3842. nicm 2025-11-12 07:53:22 +00:00
  • c77d49f67e Save and restore images in alternate screen, GitHub issue 3732. Nicholas Marriott 2025-11-12 07:49:17 +00:00
  • 7194fdca38 Fix many display problems with floating windows up against the window edge and borders of other windows and many off-by-one errors. Michael Grant 2025-11-10 23:07:06 +01:00
  • 31d0945059 Fix dragging a window to y==0 when pane border status enabled. window_get_active_at() needs to return the pane at the top of the window when called with y==0, otherwise it returns null as if there is no pane at the top line. Michael Grant 2025-11-10 23:04:03 +01:00
  • 466e79d572 Bugfix for size of pane_border status not properly clipping. Michael Grant 2025-11-07 22:53:42 +01:00
  • 33cfe8b809 Merge branch 'obsd-master' Thomas Adam 2025-11-07 14:01:08 +00:00
  • 0d0ef5d0d2 correct test for COLORTERM containing 256 found with smatch, ok nicm@ jsg 2025-11-07 12:43:47 +00:00
  • d65bac979d Do not try to allocate zero size colours, GitHub issue 4674. Nicholas Marriott 2025-11-07 12:36:07 +00:00
  • c1667bd85e consistently use tabs for indentation found with smatch, ok nicm@ jsg 2025-11-07 12:30:36 +00:00
  • 3bb4f72a4b Add new key binding ctrl-b * to create new floating pane. New panes created at increasing offsets. Michael Grant 2025-11-07 12:25:59 +01:00
  • 329e9d54ab Add support for clicking on a floating pane border to make it active. Including bugfix to click bottom border of floating panes. Michael Grant 2025-11-07 11:43:41 +01:00
  • 9c45dd693b Comment cleanup. Michael Grant 2025-11-07 01:24:39 +01:00
  • cc671e4495 Fix mouse drag in copy-mode to properly select around floating panes. Michael Grant 2025-11-07 01:24:19 +01:00
  • 61ca158de1 Fix pane borders, including fixing 2 side-by-side or top-bottom panes with split coulering. Michael Grant 2025-11-06 12:16:45 +01:00
  • 7e0038c691 Bugfix split pane border colours. Michael Grant 2025-11-04 15:48:23 +01:00
  • 04792d0656 Bugfix, max margin should be right side of window. Michael Grant 2025-11-03 22:38:35 +01:00
  • 6c5cc40039 Bugfix, more changes to allow xoff and yoff to be int. Michael Grant 2025-11-03 21:56:15 +01:00
  • 815f7ecffb Merge branch 'obsd-master' Thomas Adam 2025-11-03 12:01:06 +00:00
  • 44c0443983 Merge branch 'obsd-master' Thomas Adam 2025-11-03 09:57:35 +00:00
  • 3051076dd1 Ignore Hangul filler character. There doesn't seem to be much agreement on what to do with this but ignoring it seems rightand does improve things. GitHub issue 3998. nicm 2025-11-03 09:27:06 +00:00
  • 6b462474f0 Bugfix so floating wp can be moved to top of window. Michael Grant 2025-11-02 11:52:21 +01:00
  • 9a061a2fee Bugfix floating panes display when off window edge. Michael Grant 2025-11-02 09:56:57 +01:00
  • 6dd552d689 Fix floating pane redraw bugs. Allow floating panes to be partly out of the window. This required changing xoff and yoff from u_int to int and it required a fair bit of casting for example when xoff is added to sx or comparing px to xoff. It makes sense for px and sx to be u_int since they refers to things which should never be negative. Michael Grant 2025-11-01 21:47:54 +01:00
  • d90b414223 Handle regional indicators and emoji modifiers in a better way, GitHub issue 3998. nicm 2025-11-01 16:44:24 +00:00
  • 8cb2805eb7 Handle ~ correctly when loading a file, GitHub issue 3518. nicm 2025-11-01 16:42:59 +00:00
  • e5ab5995db Fix now-incorrect text about {}s. nicm 2025-10-31 09:00:26 +00:00
  • 34e858ea05 Add support to drag and resize floating window panes. Michael Grant 2025-10-30 21:42:32 +01:00
  • e774b89062 Preserve marked pane with swap-window and move-window, GitHub issue 3443. nicm 2025-10-30 13:52:08 +00:00
  • 29db8ac36e Set and check COLORTERM as a hint for RGB colour. nicm 2025-10-30 11:52:25 +00:00
  • be2d4aa434 Merge branch 'obsd-master' Thomas Adam 2025-10-30 10:01:07 +00:00
  • 1e61e52400 If tmux receives a palette request (OSC 4) in a pane and the palette entry has not been set, send a request to the most recently used client and forward any response instead. Based on change from Tim Culverhouse in GitHub issue 4665. nicm 2025-10-30 07:41:19 +00:00
  • 4bdfbfa854 Merge branch 'obsd-master' Thomas Adam 2025-10-29 12:01:07 +00:00
  • 2c08960f4e Add -l flag to command-prompt to disable splitting into multiple prompts, GitHub issue 4483. nicm 2025-10-29 09:37:36 +00:00
  • 1a419609e3 Don't enter copy mode on mouse wheel in alternate screen, GitHub issue 3705. nicm 2025-10-29 09:33:20 +00:00
  • f812b8d304 Cast to avoid warnings on 32-bit architectures. GitHub issue 4597. Nicholas Marriott 2025-10-29 08:47:45 +00:00
  • ff6eefd7c7 Merge branch 'obsd-master' Thomas Adam 2025-10-28 18:01:08 +00:00
  • 0c5abfefd3 Add commands to centre the cursor in copy mode, from m-einfalt at gmx dot de in GitHub issue 4662. nicm 2025-10-28 16:36:52 +00:00
  • e560a09db0 Merge branch 'obsd-master' Thomas Adam 2025-10-28 15:16:58 +00:00
  • 9bf8ca5856 Support case insensitive search in modes in the same way as copy mode (like emacs, so all-lowercase means case insensitive). GitHub issue 4396. nicm 2025-10-28 14:21:06 +00:00
  • 410abb5afb Merge branch 'obsd-master' Thomas Adam 2025-10-28 14:01:08 +00:00
  • 39d2839e37 Bugfix visible_ranges calculation, no longer need to inject vr into tty_draw_line. Michael Grant 2025-10-28 12:50:13 +00:00
  • 482aa937b1 Merge branch 'obsd-master' Thomas Adam 2025-10-28 12:01:07 +00:00
  • 7980d00e8c Attempt to take care of case of partially obscured wide characters by floating panes. (Not yet tested!) Michael Grant 2025-10-28 11:01:27 +00:00
  • b4ba6e49af Do not realpath() everything since it is pointless and breaks symlinks. GitHub issue 4427. nicm 2025-10-28 10:51:30 +00:00
  • 010394ab63 Merge branch 'obsd-master' Thomas Adam 2025-10-28 10:01:07 +00:00
  • 7cbb96528c Do not try to reflow if line is NULL. nicm 2025-10-28 09:01:12 +00:00
  • 25ce5b4281 Add separate z-index list. Each window has its own z-order list of panes now. Michael Grant 2025-10-28 08:07:32 +00:00
  • aa420cd54a Tweak error messages so that file name isn't modified when we capitalize the first letter, from Pavel Roskin in GitHub issue 4666. nicm 2025-10-28 07:32:26 +00:00
  • 0cd3ab6299 Fix active border colour if only floating panes in the window. Michael Grant 2025-10-27 23:35:53 +00:00
  • 28d038fb16 Bugfix calculation error on bottom border when pane border status on and scrollbar enabled. Michael Grant 2025-10-27 22:18:07 +00:00
  • d5302ec327 Merge branch 'obsd-master' Thomas Adam 2025-10-27 22:01:08 +00:00
  • 10dc308e6b Add checking the redraw of floating panes and the pane border status. Michael Grant 2025-10-27 21:28:31 +00:00
  • f31a2d229c Do not play games with lines for view mode output since it stops them wrapping, GitHub issue 4462. nicm 2025-10-27 20:31:40 +00:00
  • 6344bab6cc Fix typo with visible_ranges struct name. Add support for checking visual ranges to tty_draw_pane. Michael Grant 2025-10-27 19:54:21 +00:00
  • 984fbacccf Change the visible_ranges array to work more like the overlay_ranges array, except be able to grow. Michael Grant 2025-10-26 14:18:27 +00:00
  • cc83ca6628 Add new newp command. Michael Grant 2025-10-26 14:02:57 +00:00
  • 04fc6ea11b Renamed floating window panes simple new-pane. Michael Grant 2025-10-24 14:24:26 +01:00
  • 8a9e2fccbd Move floating window stuff to new file: cmd-new-pane.c. Michael Grant 2025-10-24 10:25:18 +01:00
  • cc1324e2d9 Cleanup and simplification. Array of visual ranges now just simple array. Michael Grant 2025-10-24 09:53:12 +01:00
  • b2226d1608 Add scrollbar width to right border calculation. Michael Grant 2025-10-24 00:06:18 +01:00
  • 8ce0af3fc9 Fix a fencepost error (not sure why wp->sy+1 isn't the border). Michael Grant 2025-10-23 23:59:49 +01:00
  • b315a6c3d1 Add mouse detection on top & left borders of floating panes. Michael Grant 2025-10-23 23:25:48 +01:00
  • baf642b7d2 window_redraw_active_switch now brings floating pane to front. Fix compile warning in window_add_pane. Michael Grant 2025-10-23 20:30:32 +01:00
  • 8db76e9057 Bugfix fix redraw of overlapping floating panes. Michael Grant 2025-10-23 18:05:04 +01:00
  • e3b7bf9b31 Add -x, -y, -w, -h args to set the xoff, yoff, sx, and sy of the pane. Michael Grant 2025-10-23 00:12:54 +01:00
  • 38724f2e86 Return error if you try to split a floating pane. Michael Grant 2025-10-22 23:37:58 +01:00
  • 65fc09fac9 Hide cursor behind floating panes. Michael Grant 2025-10-22 23:29:21 +01:00
  • 3197b715b3 Bugfix display of above-below windows with a floating pane. Michael Grant 2025-10-22 22:50:10 +01:00
  • 26362dfc72 Bugfix display of 2 side-by-side panes with overlapping floating pane. Michael Grant 2025-10-22 22:07:42 +01:00