Commit Graph

  • 0ae8019e7f Better api design and abstraction for new-pane and split-window. Dane Jensen 2026-05-18 22:46:53 +00:00
  • c3fc0229e5 style fixes Dane Jensen 2026-05-18 15:41:28 -07:00
  • 76196b8ffa Moved new-pane into split-window. Dane Jensen 2026-05-16 17:30:30 -07:00
  • fd4e683151 Merge branch 'master' into floating_panes Nicholas Marriott 2026-05-18 11:10:09 +01:00
  • a9ba7b8ecb Merge branch 'obsd-master' Thomas Adam 2026-05-18 09:38:02 +01:00
  • 962d647993 Remove some leftover debug code. nicm 2026-05-17 16:02:33 +00:00
  • a8520ba59e Bring over some of layout and positioning code for floating panes, by Michael Grant. nicm 2026-05-17 16:01:42 +00:00
  • 2b05d8531d Merge branch 'master' into floating_panes Nicholas Marriott 2026-05-17 15:55:09 +01:00
  • 8e966688a7 If outside floating pane, do not carry on to check as if tiled pane. Nicholas Marriott 2026-05-17 15:49:21 +01:00
  • f12d7b4e67 When mode-keys is set to vi, do not allow the cursor to go into the invisible extra cell to the right of the visible text. This is closer to what vi(1) does. From Max Vim in GitHub issue 5070. nicm 2026-05-17 13:12:21 +00:00
  • bbea6e6375 Add a five second limit on pasting for terminals which mysteriously lose the end sequence if the paste is too big (that is, Terminal.app). Reported by Garri Djavadyan in GitHub issue 4527. nicm 2026-05-17 13:01:04 +00:00
  • b24b8424b1 Switch to use backing grid not copy mode's grid for copy line, GitHub issue 4995. nicm 2026-05-17 12:38:04 +00:00
  • 35bd1a4c02 Do not include unattached clients on sorted list, fixes crash reported by Marcel Partap. nicm 2026-05-17 11:17:16 +00:00
  • 818352c3cd Add some more explanatory text about targets, GitHub issue 4850. nicm 2026-05-17 11:12:07 +00:00
  • 742efe989f Report file open errors more sensibly, reported by Meriel Luna Mittelbach in GitHub issue 5081. nicm 2026-05-17 10:54:01 +00:00
  • 4cea1c7189 Add new-pane command, currently this is equivalent to split-window but it will have minor differences for floating panes in future. Also add -R/-s/-S/-k/-m flags to control border and style and behaviour, like popups. GitHub issue 5027 from Dane Jensen. nicm 2026-05-17 10:44:53 +00:00
  • 18ddda48d2 More. Nicholas Marriott 2026-05-16 12:18:41 +01:00
  • 5651519f5d Try to make Copilot shut up. Nicholas Marriott 2026-05-16 12:07:09 +01:00
  • c4ec9234e9 Fix to ignore minimised panes when redoing the layout. Michael Grant 2026-05-15 18:23:39 +01:00
  • 2e0eabbf0a Fix screen_redraw_get_visible_ranges to ignore minimised panes. Michael Grant 2026-05-15 18:20:29 +01:00
  • 1b2435fab6 Fix bug where tty output of command outputing was getting written to the window aafter it was minimised. Michael Grant 2026-05-13 22:46:32 +01:00
  • 1ff3dafe4e Fix crash when minimising pane. Michael Grant 2026-05-13 22:28:14 +01:00
  • 281e8ff766 Fix a couple of bugs in tty_draw_line: do not loop forever if orphan padding appears, or if a wide character is trimmed at the right of the region. Much help with testing from qingliu at alauda dot io in GitHub issue 5024. nicm 2026-05-13 13:12:23 +00:00
  • dbc0710bc9 Update supported features for Foot, from Meriel Luna Mittelbach in GutHub issue 5079. nicm 2026-05-13 10:24:57 +00:00
  • 8f28f31b78 Do not crash if set progress bar with no pane, from Dane Jensen. nicm 2026-05-13 08:25:05 +00:00
  • 3f651d9fa9 Merge branch 'obsd-master' Thomas Adam 2026-05-12 16:01:08 +01:00
  • 18fced7e7f Make pane offsets signed, needed for floating panes. nicm 2026-05-12 12:05:41 +00:00
  • 6b16e93f1b Merge branch 'master' into floating_panes Nicholas Marriott 2026-05-12 12:38:31 +01:00
  • f1f0158741 Merge branch 'obsd-master' Thomas Adam 2026-05-12 12:01:11 +01:00
  • 3d6c542e34 Turn off the "is this a paste" guessing if the terminal supports bracket pasting instead, GitHub issue 5031. nicm 2026-05-12 10:28:09 +00:00
  • c3036116de Update test output. Nicholas Marriott 2026-05-12 10:38:29 +01:00
  • 9e3653a612 Check FIONREAD for all panes not just piped panes, fixes issues with tests, GitHub issue 4807. nicm 2026-05-12 09:37:25 +00:00
  • 27a00d1bfd Fix infinite loop due to underflow when redrawing scrollbar, from Pavel Lavrukhin in GitHub issue 4932. nicm 2026-05-12 09:32:49 +00:00
  • b7467a3110 Merge pull request #5039 from daneofmanythings/layout-null-dereference Nicholas Marriott 2026-05-12 10:27:54 +01:00
  • 800837ff3f Fix control mode teardown ordering for queued pane output, GitHub issue 5064 from Aaron Campbell. nicm 2026-05-12 09:27:28 +00:00
  • bfbfb6dbf3 Avoid overshooting Sixel height in sixel_parse_write, GitHub issue 5071 from nincsnevem662 at gmail dot com. Nicholas Marriott 2026-05-11 12:00:06 +01:00
  • 8fb1b1d412 Merge branch 'obsd-master' Thomas Adam 2026-05-08 12:01:09 +01:00
  • af98467d0d Do not cache format for status line because it stores various pointers that might be stale, instead cache the cmd_find_state and rebuild the formats every time they are needed. Reported by Marcel Partap in GitHub isue 5065. nicm 2026-05-08 06:57:38 +00:00
  • f9d50d580c Merge branch 'obsd-master' Thomas Adam 2026-05-07 12:01:08 +01:00
  • 496805476e Require layout prefix to be 5 characters, GitHub issue 5067 from cglosner at gmail dot com. nicm 2026-05-07 09:21:05 +00:00
  • 962e565591 Add Emacs-style recentre-top-bottom, GitHub issue 5053 from sinyax75 at gmail dot com. nicm 2026-05-07 09:15:44 +00:00
  • 862625a4bf Merge branch 'obsd-master' Thomas Adam 2026-05-06 16:01:09 +01:00
  • 2d8aade74b Add time limit to a couple of other loops. nicm 2026-05-06 13:43:38 +00:00
  • 2aad2cfc53 Add a configure flag for ASAN. Nicholas Marriott 2026-05-06 08:23:26 +01:00
  • ad94405dac Merge branch 'obsd-master' Thomas Adam 2026-05-05 16:01:08 +01:00
  • 518fcf7e03 Do not sanitize title when popping it from stack, also add a limit to number of pushed titles. nicm 2026-05-05 13:18:46 +00:00
  • 1fbd00e1e8 Add missing flags to screen_mode_to_string and do not write before before if any are missed, second bit from qingliu at alauda dot io. nicm 2026-05-05 12:06:52 +00:00
  • cae229cadc Discard queued data and clear offsets when turning pane off to prevent later read of data that has been removed. From Aaron Campbell in GitHub issue 5054. nicm 2026-05-05 12:02:12 +00:00
  • 9d3dcdbc38 Merge branch 'obsd-master' Thomas Adam 2026-05-03 20:01:09 +01:00
  • d52fabce72 Allow the indicator in tree mode to be customized by two new options: tree-mode-preview-format and tree-mode-preview-style. nicm 2026-05-03 15:02:48 +00:00
  • 637d4c3083 Fix control client hang on exit after toggling no-output, GitHub issue 5049 from Aaron Campbell. nicm 2026-05-03 15:01:21 +00:00
  • 1e96d9a87f Do not check for NULL after dereferencing, from alexarama at yahoo dot com in GitHub issue 5051. nicm 2026-05-03 14:57:09 +00:00
  • 49172b256c Free working stuff when R formats fail. nicm 2026-05-03 14:55:43 +00:00
  • 9a94f48663 Merge branch 'obsd-master' Thomas Adam 2026-05-01 16:01:09 +01:00
  • 2e9c6c2586 Add some checks on line size to avoid underflow, from san65384 at gmail dot com in GitHub issue 4955. nicm 2026-05-01 11:56:41 +00:00
  • 4224ecd2ab Merge pull request #5042 from daneofmanythings/floating_panes--two-panes-crash Nicholas Marriott 2026-05-01 12:54:38 +01:00
  • 92522473b0 Merge branch 'obsd-master' Thomas Adam 2026-05-01 12:01:08 +01:00
  • 56200ca044 Do not leak cached last result from control subs, from Aaron Campbell in GitHub issue 5047. nicm 2026-05-01 09:59:42 +00:00
  • 524f283cc6 Add support for line numbers in copy mode. A new copy-mode-line-numbers option has the following modes: off, default (tmux's normal line numbering where 0 is the top visible line), absolute (first line in history is 1), relative (relative to the cursor) and hybrid (current line is absolute, others relative). Also adds copy-mode-line-number-style and copy-mode-current-line-number-style to set the style of the line numbers. When copy mode is entered with the mouse, line numbers stay off. nicm 2026-05-01 09:44:42 +00:00
  • a2acf0f7cf Check time inside repeat (R:) loop as well. nicm 2026-05-01 09:34:05 +00:00
  • d85f1b942d Merge branch 'obsd-master' Thomas Adam 2026-04-28 16:01:08 +01:00
  • 8da41bdc2b Merge branch 'obsd-master' Thomas Adam 2026-04-28 12:01:08 +01:00
  • 4a926e489b Make C-[ have the same bindings as Escape for terminals with extended keys where they are different, GitHub issue 5035 from Eric NICOLAS. nicm 2026-04-28 10:01:07 +00:00
  • 746dd91e86 Sanitize paste buffer names in paste_set and paste_rename, GitHub issue 5032 from Barrett Ruth. nicm 2026-04-28 08:52:37 +00:00
  • 763dec881a Do not leak socketpair fds in pipe-pane when fork fails. From Barrett Ruth. nicm 2026-04-28 08:47:55 +00:00
  • 2a5715fad5 Do not deref NULL job in window_copy_pipe_run when job_run fails. From Barrett Ruth in GitHub issue 5036. nicm 2026-04-28 08:35:21 +00:00
  • ec58272b95 Do not hang run-shell when job_run fails, from Barrett Ruth in GitHub issue 5037. nicm 2026-04-28 08:34:15 +00:00
  • f90d3af403 Fix -p for for join-pane, from Dane Jensen. nicm 2026-04-28 08:32:44 +00:00
  • e18c10d340 Passing in '&type' to avoid null dereference Dane Jensen 2026-04-27 19:59:12 -07:00
  • c2659401b0 Merge branch 'obsd-master' Thomas Adam 2026-04-27 16:01:09 +01:00
  • 9840d4a4a3 Add a limit on maximum length of environment variable assignment in configuration files. nicm 2026-04-27 12:31:11 +00:00
  • fc6d94a9f8 Track which list (images or saved_images) each image is on so they can be removed from the correct list when the total image count is reached. Fixes crash reported by xlabai at tencent dot com. Nicholas Marriott 2026-04-27 13:09:07 +01:00
  • 61a7be0eab Turn off regular expressions when fuzzing because there are cases that take too much time or memory that cannot be fixed. Nicholas Marriott 2026-04-26 21:18:37 +01:00
  • e4a439aa0c Merge branch 'obsd-master' Thomas Adam 2026-04-26 21:12:23 +01:00
  • 0719dcf2e7 fixed site of null dereference in layout.c Dane Jensen 2026-04-25 15:05:58 -07:00
  • 3400a312dd Merge pull request #5026 from daneofmanythings/floating_panes--new-pane-doc-fixup Nicholas Marriott 2026-04-24 16:06:12 +03:00
  • b2f9144e10 Merge pull request #5029 from daneofmanythings/floating_panes--fix-join-pane Michael Grant 2026-04-24 13:56:37 +01:00
  • b844cafb9c No need to stravis the window name twice. nicm 2026-04-24 10:08:52 +00:00
  • a74f173902 more. Dane Jensen 2026-04-23 21:53:06 -07:00
  • a1cd68e3f8 Fixed z-index related crash in join-pane Dane Jensen 2026-04-23 20:23:50 -07:00
  • eec2c19ad1 oversights. Dane Jensen 2026-04-23 17:07:53 -07:00
  • 05fdd04262 Fix the z-index of the pane. (nic's fix.) Michael Grant 2026-04-24 00:49:22 +01:00
  • 1d9522a7a6 Kill client rather than fatalx on bad file handling messages, reported by Tim Zheng. nicm 2026-04-23 12:36:15 +00:00
  • ffe80579df Redraw correctly when a popup is present above pane borders, GitHub issue 4997 from Manuel Einfalt. nicm 2026-04-23 11:29:23 +00:00
  • bcd17cf99a Merge branch 'obsd-master' Thomas Adam 2026-04-23 11:58:17 +01:00
  • 3e36ddbceb Merge pull request #4979 from daneofmanythings/floating_panes--new-pane Nicholas Marriott 2026-04-22 10:29:07 +03:00
  • bc15723f7f Add feature for progress bar and pass to outside terminal, GitHu issue 4972 from Eric Dorland. nicm 2026-04-22 07:25:17 +00:00
  • 7a0cc03532 Translate keypad keys to text in prompt input. From Barrett Ruth in GitHub issue 4996. nicm 2026-04-22 07:15:34 +00:00
  • d36f6783c7 Add a couple of controls (kill, zoom) to default pane-status-format. Will be more to come with floating panes. From Dane Jensen in GitHub issue 4981. nicm 2026-04-22 07:13:26 +00:00
  • d339ab51eb Sanitize pane titles and window and session names more consistently and strictly, prevents C0 characters and other nonvisible characters causing problems. Reported (with a different fix) by Chris Monardo in GitHub issue 4999. nicm 2026-04-22 07:10:16 +00:00
  • fee70031f6 Make clock visible on terminals without colours, from Manuel Einfalt in GitHub issue 5001. nicm 2026-04-22 07:05:59 +00:00
  • 303edb71bd Add a fairly low time limit to format evaluation to stop absurdly nested formats from making tmux appear to hang. nicm 2026-04-22 07:05:03 +00:00
  • 314f0ae964 Do not leak hyperlinks in copy mode, from Barrett Ruth in GitHub issue 5020. nicm 2026-04-22 07:03:06 +00:00
  • 0835980ef1 Remove no longer accurate statement from tmux.1, reported by dkuettel at gmail dot com. nicm 2026-04-22 06:58:59 +00:00
  • baf55e4616 Add a default set of features for WezTerm. nicm 2026-04-22 06:57:08 +00:00
  • 0a55e5ca54 Fixed logical error in handing default cascading. Dane Jensen 2026-04-17 12:44:50 -07:00
  • a7ad0c4434 Option flag adjustment for eventual consistency. Dane Jensen 2026-04-16 11:38:33 -07:00
  • 271bac5347 Merge branch 'master' into floating_panes Michael Grant 2026-04-15 23:26:02 -04:00
  • 914ffc8887 touchup. Dane Jensen 2026-04-15 12:33:08 -07:00
  • dd62c2f946 Do not need to create a new window each time for input-keys.sh test. Nicholas Marriott 2026-04-15 16:21:35 +01:00