Commit Graph

  • 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
  • 5eaf5570c4 Merge branch 'obsd-master' Thomas Adam 2026-06-14 10:00:06 +01:00
  • cbe0f1f1e9 Another const from Jere Viikari. Nicholas Marriott 2026-06-14 09:50:31 +01:00
  • 97472e374f Return early if connect construct cell, reported by Jere Viikari. nicm 2026-06-14 08:47:44 +00:00
  • 7a28aa0dd7 Merge branch 'obsd-master' Thomas Adam 2026-06-13 22:00:06 +01:00
  • b1054ac227 With mode-keys vi, keep cursor in the same position relative to the text when scrolling. GitHub issue 5216 from Arseniy Simonov. nicm 2026-06-13 20:39:11 +00:00
  • 1618b98533 Merge branch 'obsd-master' Thomas Adam 2026-06-13 21:15:06 +01:00
  • 5b6ed54817 Add some missing const, from Jere Viikari. nicm 2026-06-13 20:07:30 +00:00
  • d23a2b7e97 Skip floating cells when moving to previous cell for resize of tiled cells. nicm 2026-06-13 20:03:10 +00:00
  • ab92b27226 Make the resize keys always change right and bottom borders for floating panes which is more intuitive. nicm 2026-06-13 19:57:44 +00:00
  • eb6efdf17a Merge branch 'obsd-master' Thomas Adam 2026-06-13 20:00:06 +01:00
  • b182791052 Tidy up error messages from split-window. nicm 2026-06-13 18:30:16 +00:00
  • 97a7f174ce Merge branch 'obsd-master' Thomas Adam 2026-06-13 19:15:06 +01:00
  • 654758e622 Add move-pane -z to move a pane to a particular the z-index. nicm 2026-06-13 18:06:01 +00:00
  • c8887a5846 Merge branch 'obsd-master' Thomas Adam 2026-06-13 19:00:06 +01:00
  • 56779f9542 Add Z index positions to move-pane -P. nicm 2026-06-13 17:43:20 +00:00
  • f474838e22 Merge branch 'obsd-master' Thomas Adam 2026-06-13 18:30:06 +01:00
  • 19393e13db Add -P to move-pane to move a floating pane to a specific place (top-left, bottom-right). Get rid of the not-so-useful default { and } swap-pane bindings and use the keys instead for moving to top-left, top-right and add M-{ and M-} for bottom-left, bottom-right. nicm 2026-06-13 17:12:02 +00:00
  • 301b10de8d Merge branch 'obsd-master' Thomas Adam 2026-06-13 17:30:06 +01:00
  • aa2fd3a151 Add flags to move-pane to move floating panes around (-U, -D, -L, -R similar to resize-pane; -X, -Y similar to new-pane). nicm 2026-06-13 16:16:18 +00:00