Commit Graph

  • 035447b08f Do not dereference the current window if it is NULL (can be if the notification fires after session is destroyed). GitHub issue 5244 from Ben Maurer. nicm 2026-06-19 08:21:55 +00:00
  • 584cafa284 fix(floating_panes): Fixed tiled cell detection and removed dead guard. Dane Jensen 2026-06-18 15:05:38 -07:00
  • 8a4a150a1a Fixed tiled cell detection and removed dead guard. Dane Jensen 2026-06-18 15:01:21 -07:00
  • de41b93b73 Merge branch 'master' into floating_panes Dane Jensen 2026-06-18 12:50:47 -07:00
  • 55b2e748e7 Merge branch 'obsd-master' Thomas Adam 2026-06-18 13:15:05 +01:00
  • 3246331876 Merge branch 'obsd-master' Thomas Adam 2026-06-18 13:00:05 +01:00
  • 6d9fbb0e97 Update regress for format changes. Nicholas Marriott 2026-06-18 12:55:13 +01:00
  • 14fc4a06a6 Unescape arguments before passing to format_expand1 so that escaping :s etc actually works. nicm 2026-06-18 11:54:37 +00:00
  • cba4ba9cdc Check time periodically in loops rather than every one. nicm 2026-06-18 11:45:08 +00:00
  • 937d99150c Merge branch 'obsd-master' Thomas Adam 2026-06-18 12:15:05 +01:00
  • 0a6c846091 Use evbuffer for building S, W, L lists, also add an xmemdup helper instead of misusing asprintf. nicm 2026-06-18 10:56:22 +00:00
  • c6b8ad6e7e Merge branch 'obsd-master' Thomas Adam 2026-06-18 11:15:07 +01:00
  • d92a479d2f Add a dim= style attribute to dim the colours (as best as tmux is able to). GitHub issue 4842. nicm 2026-06-18 09:59:55 +00:00
  • f242182840 Merge branch 'obsd-master' Thomas Adam 2026-06-18 10:30:05 +01:00
  • f5871369cc Merge branch 'obsd-master' Thomas Adam 2026-06-18 10:15:06 +01:00
  • b1b184cdb8 Add functions to work out cell neighbours, and to remove a tiled cell. From Dane Jensen. nicm 2026-06-18 09:11:24 +00:00
  • 1a6de01210 Check the panes again if deferred redraw to make sure the flag is always set. Also add a helper for the loop. nicm 2026-06-18 08:56:07 +00:00
  • 4aa1dd3ae8 Merge pull request #5239 from daneofmanythings/fp--missing-flag-move-pane Dane Jensen 2026-06-17 15:01:03 -07:00
  • be33d01663 Added missing -D flag from move-pane .args field. Dane Jensen 2026-06-17 14:59:34 -07:00
  • fdcb93a467 Merge branch 'master' into floating_panes Dane Jensen 2026-06-17 14:32:01 -07:00
  • 1dd2589a42 Merge branch 'obsd-master' Thomas Adam 2026-06-17 14:30:05 +01:00
  • 3485e1c089 Tidy up server_client_check_redraw. Get rid of the bitmask tracking panes which want redraw for deferred clients - if they are deferred then they can just have a full redraw instead. Also return earlier if no redraw is actually needed, and improve the comments. nicm 2026-06-17 13:22:48 +00:00
  • 6f7965e4f1 Merge branch 'obsd-master' Thomas Adam 2026-06-17 14:00:05 +01:00
  • 1ba8fa6f04 Fix shifts to 1ULL and check scrollbar even if pane is not being redrawn. nicm 2026-06-17 12:32:54 +00:00
  • 6eb67fcc5f Merge branch 'obsd-master' Thomas Adam 2026-06-17 09:15:05 +01:00
  • 3b8e25fef4 Initialize wname so it we are not freeing garbage if it is not used. nicm 2026-06-16 09:00:25 +00:00
  • 64e83caf04 Be more strict about what names and titles we allow and reject them immediately when possible, but allow # again for those directly set by commands (but not escape sequences). From Barrett Ruth in GitHub issue 5175. nicm 2026-06-15 21:41:39 +00:00
  • a8abea8247 Merge branch 'obsd-master' Thomas Adam 2026-06-17 09:00:07 +01:00
  • d4defd943a Add -M to move-pane and default bindings for M-drag. From Michael Grant. nicm 2026-06-17 07:52:21 +00:00
  • eafd2bed5d FIx a couple of minor errors in use of layout_cell_is_tiled. nicm 2026-06-17 07:43:55 +00:00
  • c54f7ec95e Remove extra code. Dane Jensen 2026-06-16 13:43:13 -07:00
  • f8448764e2 Merge branch 'master' into floating_panes Dane Jensen 2026-06-16 13:38:33 -07:00
  • 6549765930 Makefile: add window-visible.c Thomas Adam 2026-06-16 12:55:41 +01:00
  • 6cb2233cd2 Merge branch 'obsd-master' Thomas Adam 2026-06-16 12:55:00 +01:00
  • 9ad75e1dc3 Rename the visible ranges functions since they really relate to windows and put them nto a new file. nicm 2026-06-16 10:47:35 +00:00
  • 762e503978 Allow rectangle selection to extend past end of current line to behave the same as vi with virtualedit=block set. From Mark Kelly in GitHub issue 5227. nicm 2026-06-16 09:28:17 +00:00
  • bec0f7d975 Merge branch 'obsd-master' Thomas Adam 2026-06-16 11:00:05 +01:00
  • 4b772fd783 Allow rectangle selection to extend past end of current line to behave the same as vi with virtualedit=block set. From Mark Kelly in GitHub issue 5227. nicm 2026-06-16 09:28:17 +00:00
  • c809aea278 Fix a merge problem. Nicholas Marriott 2026-06-16 10:24:06 +01:00
  • 1596f9c9f5 Bump version again. Nicholas Marriott 2026-06-16 10:22:51 +01:00
  • 2f28d9a168 Fix resizing floating pane with a left scrollbar, from Michael Grant. nicm 2026-06-16 08:57:07 +00:00
  • baac29debc Prefer libtinfow if it is available, GitHub issue 5224 from Lars Wendler. Nicholas Marriott 2026-06-16 09:48:04 +01:00
  • 2c4df765c5 Fix missing border when drawing floating panes. From Michael Grant. nicm 2026-06-16 08:53:14 +00:00
  • 1d026b921c Merge branch 'obsd-master' Thomas Adam 2026-06-16 10:15:14 +01:00
  • fcbb6a7384 Initialize wname so it we are not freeing garbage if it is not used. nicm 2026-06-16 09:00:25 +00:00
  • bdc01f44de Fix resizing floating pane with a left scrollbar, from Michael Grant. nicm 2026-06-16 08:57:07 +00:00
  • d2c23773ff Fix missing border when drawing floating panes. From Michael Grant. nicm 2026-06-16 08:53:14 +00:00
  • 38dc3ec0da Prefer libtinfow if it is available, GitHub issue 5224 from Lars Wendler. Nicholas Marriott 2026-06-16 09:48:04 +01:00
  • c03acc9572 Merge branch 'obsd-master' Thomas Adam 2026-06-16 08:15:07 +01:00
  • 30e133d36a Fix default window check in break-pane, from Dane Jensen. nicm 2026-06-16 07:07:49 +00:00
  • 0890df5891 Add layout_cell_is_tiled and layout_cell_has_tiled_child helper functions, from Dane Jensen. nicm 2026-06-16 07:06:32 +00:00
  • d223a49d18 Merge branch 'obsd-master' Thomas Adam 2026-06-16 06:15:05 +01:00
  • 26285e183e botton -> bottom jsg 2026-06-16 05:01:56 +00:00
  • f71e81c483 Merge pull request #5230 from daneofmanythings/fp--is_visible Dane Jensen 2026-06-15 21:20:03 -07:00
  • 9bd53b8565 changed window_pane_visible to window_pane_is_visible Dane Jensen 2026-06-15 21:18:47 -07:00
  • dde9dda1a4 Merge branch 'master' into floating_panes Dane Jensen 2026-06-15 16:52:21 -07:00
  • 408e9f1481 Merge branch 'obsd-master' Thomas Adam 2026-06-15 23:00:06 +01:00
  • 7c8344930b Add a test for names. Nicholas Marriott 2026-06-15 22:47:39 +01:00
  • 482e254a49 Rename window_pane_visible to match other functions, from Dane Jensen. nicm 2026-06-15 21:47:01 +00:00
  • eb65331403 Be more strict about what names and titles we allow and reject them immediately when possible, but allow # again for those directly set by commands (but not escape sequences). From Barrett Ruth in GitHub issue 5175. nicm 2026-06-15 21:41:39 +00:00
  • 55c8b0c2a7 Merge branch 'master' into floating_panes Dane Jensen 2026-06-15 13:00:51 -07:00
  • 9031f59f7b Merge branch 'obsd-master' Thomas Adam 2026-06-15 19:00:06 +01:00
  • 2d9afa6348 Use correct x position when drawing clipped line. nicm 2026-06-15 11:45:51 +00:00
  • bae5c14941 Tidy up screen_redraw_get_visible_ranges by using a couple of temporaries for start and end of range. nicm 2026-06-15 12:07:49 +00:00
  • 9cf8de099c Convert cursor position back to pane coordinates for tty_cmd_cell. nicm 2026-06-15 14:56:30 +00:00
  • b86bd1fcd0 Add pane-border-lines none like popups (-B to new-pane). nicm 2026-06-15 17:34:25 +00:00
  • c156e597dc Merge branch 'obsd-master' Thomas Adam 2026-06-15 16:15:07 +01:00
  • bb750b07bc If the client is blocked, defer the redraw because it may end up partially discarded leading to redraw artifacts. nicm 2026-06-15 15:05:12 +00:00
  • 0e6fe5a097 Convert cursor position back to pane coordinates for tty_cmd_cell. nicm 2026-06-15 14:56:30 +00:00
  • 13de7cafb2 Merge branch 'obsd-master' Thomas Adam 2026-06-15 13:30:08 +01:00
  • 057b688fc7 Tidy up screen_redraw_get_visible_ranges by using a couple of temporaries for start and end of range. nicm 2026-06-15 12:07:49 +00:00
  • 45bb3e7ffc Merge branch 'obsd-master' Thomas Adam 2026-06-15 13:00:05 +01:00
  • 8ced9c332c Use correct x position when drawing clipped line. nicm 2026-06-15 11:45:51 +00:00
  • 9fcd5ce03d Merge branch 'obsd-master' Thomas Adam 2026-06-15 10:30:05 +01:00
  • a41e6e2ed2 Add -B to new-pane to select the floating pane border. nicm 2026-06-15 09:21:40 +00:00
  • e54855ef88 Merge branch 'obsd-master' Thomas Adam 2026-06-15 09:30:05 +01:00
  • 7a18fa281d Add top-floating and bottom-floating to pane-border-status to show status line only on floating panes. nicm 2026-06-15 08:16:05 +00:00
  • f98aaf544d When redrawing a whole pane line, fall into tty_draw_line for any characters that are not plain ASCII. Fixes redraw issues with partial tabs and other wide characters when a pane is partly outside the window. nicm 2026-06-15 07:40:45 +00:00
  • 78afc24736 Fix various errors in redrawing: nicm 2026-06-14 20:53:20 +00:00
  • 83e4534387 Skip floating panes when working out the top or bottom cell. Fixes missing bottom status pane status line when floating panes exist. nicm 2026-06-14 20:37:57 +00:00
  • aed9018807 Merge branch 'obsd-master' Thomas Adam 2026-06-15 09:00:05 +01:00
  • fd1fca51fa Remove old code. Nicholas Marriott 2026-06-15 08:59:43 +01:00
  • 97b5f22a70 When redrawing a whole pane line, fall into tty_draw_line for any characters that are not plain ASCII. Fixes redraw issues with partial tabs and other wide characters when a pane is partly outside the window. nicm 2026-06-15 07:40:45 +00:00
  • 00620b57eb Bug fix for parsing floating args. Dane Jensen 2026-06-14 22:14:08 -07:00
  • bba9f38636 Bug fix for parsing floating args. Dane Jensen 2026-06-14 22:11:57 -07:00
  • 9c37acd002 hide-pane and show-pane now use the new layout mechanics. Dane Jensen 2026-06-14 21:57:11 -07:00
  • 195a9b357a hide-pane and show-pane now use the new layout mechanics. Dane Jensen 2026-06-10 23:13:49 -07:00
  • cd4c4bf723 tile-pane and float-pane now use the new layout mechanics Dane Jensen 2026-06-14 20:07:42 -07:00
  • e244be2540 Bug fixes and adjustments from feedback. Dane Jensen 2026-06-14 19:46:10 -07:00
  • 5dad31b06e slight renaming. Dane Jensen 2026-06-10 13:49:14 -07:00
  • 64ded18960 Updating tile-pane and float-pane to use new layout mechanics. Dane Jensen 2026-06-09 18:31:13 -07:00
  • 4dd496790a Merge branch 'master' into floating_panes Dane Jensen 2026-06-14 19:54:43 -07:00
  • 748dab2f38 Merge branch 'obsd-master' Thomas Adam 2026-06-14 22:15:05 +01:00
  • 3c11129b04 Merge branch 'obsd-master' Thomas Adam 2026-06-14 22:00:05 +01:00
  • 6e0e343f23 Fix various errors in redrawing: nicm 2026-06-14 20:53:20 +00:00
  • cc27470cb6 Skip floating panes when working out the top or bottom cell. Fixes missing bottom status pane status line when floating panes exist. nicm 2026-06-14 20:37:57 +00:00
  • fb527fa7db Merge branch 'obsd-master' Thomas Adam 2026-06-14 21:00:05 +01:00
  • 87976aa48e Add a helper to get pane-border-status for a window for some other changes to come. nicm 2026-06-14 19:31:37 +00:00
  • 863923472a Merge branch 'obsd-master' Thomas Adam 2026-06-14 20:15:07 +01:00
  • 778a15b64a Take account of borders when resizing floating panes. nicm 2026-06-14 18:59:15 +00:00