Commit Graph

  • 6f700904a9 Copy mode search improvements: Nicholas Marriott 2020-04-29 18:08:21 +01:00
  • 881b8e9bb5 Handle cells outside any pane correctly. Nicholas Marriott 2020-04-29 16:50:20 +01:00
  • a9743fa047 Did not mean to commit this bit. Nicholas Marriott 2020-04-29 15:27:38 +01:00
  • 04033add19 Close menu on backspace with TAB flag. Nicholas Marriott 2020-04-29 15:26:49 +01:00
  • d9fa122fd2 Do not want -O0 by default. Nicholas Marriott 2020-04-29 15:21:15 +01:00
  • fe601e5417 Update CHANGES. Nicholas Marriott 2020-04-29 15:19:39 +01:00
  • b06235c345 Improve command prompt completion: Nicholas Marriott 2020-04-29 13:56:10 +01:00
  • 7c52d702e4 Remove an unnecessary comma. Nicholas Marriott 2020-04-29 08:59:20 +01:00
  • 3d76748161 Need to redraw borders now when some things change. Also change default so that the active border colour is different in a mode or with synchronize-panes on. Nicholas Marriott 2020-04-29 08:55:21 +01:00
  • 2d151d8ca5 Apply format to pane status line also. Nicholas Marriott 2020-04-29 08:24:09 +01:00
  • 24316bed49 Apply a format when redrawing pane borders. Nicholas Marriott 2020-04-29 08:21:29 +01:00
  • c1acfb4341 Start with style initialized to default. Nicholas Marriott 2020-04-28 17:27:07 +01:00
  • 1f8256fc50 Drop having a separate type for style options and make them all strings, which allows formats to be expanded. Any styles without a '#{' are still validated when they are set but any with a '#{' are not. Formats are not expanded usefully in many cases yet, that will be changed later. Nicholas Marriott 2020-04-28 13:50:07 +01:00
  • a43a156846 Call format_defaults_window for panes as well. Nicholas Marriott 2020-04-28 10:53:35 +01:00
  • 79b4d83952 Use a grid cell not a style for the pane style. Nicholas Marriott 2020-04-27 15:15:12 +01:00
  • c30e765c7b Add some additional format helper functions. Nicholas Marriott 2020-04-27 14:33:17 +01:00
  • e62db55713 Merge branch 'obsd-master' Thomas Adam 2020-04-27 10:01:27 +01:00
  • 266bbba484 Merge branch '3.1a-rc' Nicholas Marriott 2020-04-27 09:39:17 +01:00
  • d0fa520788 Update CHANGES. 3.1a Nicholas Marriott 2020-04-27 09:38:04 +01:00
  • 646bfe403e Do not close stdout file descriptor in control mode since it will be needed for printing the exit messages. Nicholas Marriott 2020-04-27 09:36:30 +01:00
  • 1574126e8a Do not close the stdout file descriptor in control mode as it will be needed for printing the exit messages. Fixes a bug when detaching with iTerm2. nicm 2020-04-27 08:35:09 +00:00
  • 5811dd7ceb Do not close stdout file descriptor in control mode since it will be needed for printing the exit messages. Nicholas Marriott 2020-04-27 09:33:46 +01:00
  • f3d6d4e802 CUD is not a requirement and tweak some comments. Nicholas Marriott 2020-04-24 16:47:38 +01:00
  • 9b571dacee Instead of forbidding invalid session names, sanitize them. Nicholas Marriott 2020-04-24 16:40:10 +01:00
  • 527f66ed23 Instead of having a default set of terminals in terminal-overrides that get XT added and using that as a marker for xterm(1)-like, assume that if the terminfo(5) entry already has XT or the clear capability starts with CSI then the terminal is VT100-like and it should be safe to send DA requests. The DA responses trigger additional features being added. Nicholas Marriott 2020-04-24 15:52:44 +01:00
  • e67d65064e rxvt needs XT also for the moment. Nicholas Marriott 2020-04-24 14:20:33 +01:00
  • c107708bcc Focus reporting no longer under XT. Nicholas Marriott 2020-04-24 14:20:17 +01:00
  • a477c03ad5 Do not update mode until actually drawing something. Nicholas Marriott 2020-04-24 12:14:53 +01:00
  • ae73fd363b Do not redraw at all if nothing has changed. Nicholas Marriott 2020-04-24 11:56:44 +01:00
  • 650d38962f tmux 3.1. Nicholas Marriott 2020-04-24 09:57:49 +01:00
  • bb107d2979 All of this stuff can be const. Nicholas Marriott 2020-04-24 07:47:16 +01:00
  • 61550ac2e0 Add feature and capabilities for focus reporting. Also document AX and XT even though they aren't tmux's. Nicholas Marriott 2020-04-24 07:37:11 +01:00
  • 5d69b9c4a7 Add a feature for bracketed paste. Nicholas Marriott 2020-04-24 07:13:02 +01:00
  • 2d8fd35de2 Add a feature for strikethrough. Nicholas Marriott 2020-04-24 06:51:15 +01:00
  • 8650f44340 Move terminal features into a single file. Nicholas Marriott 2020-04-24 06:40:30 +01:00
  • ca13208b6b Merge branch 'obsd-master' Thomas Adam 2020-04-24 00:01:27 +01:00
  • 18886cb510 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread; jmc 2020-04-23 21:28:09 +00:00
  • d1c1e05ea7 Update CHANGES. Nicholas Marriott 2020-04-23 18:27:27 +01:00
  • d53e1fedd5 Add TMUX_SOCK like TMUX_PATH for the socket directory. Nicholas Marriott 2020-04-23 18:15:02 +01:00
  • 0d3fdae7b6 Build list of paths and weed out duplicates before loading configs. Nicholas Marriott 2020-04-23 17:56:45 +01:00
  • f87be8d052 Add XDG_CONFIG home to the configuration search paths. Nicholas Marriott 2020-04-23 17:27:39 +01:00
  • 351c5423f0 time.h is needed. Nicholas Marriott 2020-04-23 16:55:20 +01:00
  • ac91635f82 Add extension terminfo(5) capabilities for margins. Nicholas Marriott 2020-04-23 12:11:14 +01:00
  • 0c73dbb7e1 Response is iTerm2 not not ITerm2. Nicholas Marriott 2020-04-23 11:59:13 +01:00
  • 5653bc8287 Merge branch 'obsd-master' Thomas Adam 2020-04-23 12:01:26 +01:00
  • 766b425d05 Overrides need to be applied both before and after features in case they change flags used to detect a feature. nicm 2020-04-23 10:22:53 +00:00
  • c74572da92 Remove support for iTerm2's DSR 1337 extension and use the CSI > q extension now supported by a few different terminals. Nicholas Marriott 2020-04-23 10:22:27 +01:00
  • e94a15b3d6 Merge branch 'obsd-master' Thomas Adam 2020-04-23 10:01:26 +01:00
  • 1a612a5936 Add an attribute for ACS. Nicholas Marriott 2020-04-23 07:15:17 +01:00
  • e25fa4ba1b Fix a couple of memory leaks, one when creating a new pane and one when adding formats onto the queue item. nicm 2020-04-23 05:48:42 +00:00
  • 906dfe9f5c Fix a couple of memory leaks, one when creating a new pane and one when adding formats onto the queue item. nicm 2020-04-23 05:48:42 +00:00
  • 106e5d07be Tweak the default choose modes formats: Nicholas Marriott 2020-04-23 06:30:15 +01:00
  • 63f2034f29 Merge branch 'obsd-master' Thomas Adam 2020-04-23 04:01:30 +01:00
  • cf5f93b2b3 Merge branch 'obsd-master' Thomas Adam 2020-04-23 02:01:33 +01:00
  • e46cf86d30 Improve join-pane, move-pane and break-pane: nicm 2020-04-22 21:15:33 +00:00
  • 4a31eedc26 Merge branch 'obsd-master' Thomas Adam 2020-04-22 22:01:35 +01:00
  • 4b21fd2ed1 Indicate the marked pane in choose mode in reverse and add key to set and clear it (m and M) and a key to jump to the starting pane (H). nicm 2020-04-22 21:01:28 +00:00
  • 950af33636 Improve join-pane, move-pane and break-pane: nicm 2020-04-22 21:15:33 +00:00
  • 899b3d2436 Indicate the marked pane in choose mode in reverse and add key to set and clear it (m and M) and a key to jump to the starting pane (H). nicm 2020-04-22 21:01:28 +00:00
  • 662728d6c7 Add a session_marked format like window_marked. nicm 2020-04-22 20:47:00 +00:00
  • b4a21b5d80 Merge branch 'obsd-master' Thomas Adam 2020-04-22 14:01:33 +01:00
  • bb31776dd3 Merge branch '3.1-rc' Nicholas Marriott 2020-04-22 13:00:43 +01:00
  • ccd7368cc5 Update CHANGES. Nicholas Marriott 2020-04-22 12:59:50 +01:00
  • ecb6db6b6a Update CHANGES. Nicholas Marriott 2020-04-22 12:59:10 +01:00
  • d4826aa1aa Nope, OS X kqueue is still broken... Nicholas Marriott 2020-04-22 12:18:11 +01:00
  • df1bce40f0 Call the event_init wrapper again. Nicholas Marriott 2020-04-22 12:09:04 +01:00
  • 8ae3915cc2 Merge branch 'obsd-master' Thomas Adam 2020-04-22 12:01:38 +01:00
  • 4b5a16567a Update the cursor position when deleting lines from screens without history, GitHub issue 2173. nicm 2020-04-22 08:48:44 +00:00
  • 5935100181 Change so main-pane-width and height can be given as a percentage. nicm 2020-04-22 06:57:13 +00:00
  • b72498c4ff Update the cursor position when deleting lines from screens without history, GitHub issue 2173. nicm 2020-04-22 08:48:44 +00:00
  • de5163a634 Change so main-pane-width and height can be given as a percentage. nicm 2020-04-22 06:57:13 +00:00
  • dd5299841a Merge branch 'obsd-master' Thomas Adam 2020-04-21 16:01:30 +01:00
  • 445dfa8512 Move the background colour to clear with (if any) up as well as the data when scrolling, redraw problem reported by sthen@. nicm 2020-04-21 13:48:56 +00:00
  • 291b85746f Merge branch 'obsd-master' Thomas Adam 2020-04-21 14:01:25 +01:00
  • 2cbca7ce16 Merge branch 'obsd-master' Thomas Adam 2020-04-21 12:01:35 +01:00
  • 9a60d41db4 256 and RGB features can imply AX (for aixterm colours). nicm 2020-04-21 10:37:11 +00:00
  • 985bc0ee4a Merge branch 'obsd-master' Thomas Adam 2020-04-21 08:01:30 +01:00
  • 18671a27b6 Turn off the block flag to reset the state or the cursor will not be moved back to the right place. nicm 2020-04-21 06:34:13 +00:00
  • d524cb64e7 Do not clear client pane redraw flags until the redraw actually happens. nicm 2020-04-21 06:32:40 +00:00
  • bd91015b13 256 and RGB features can imply AX (for aixterm colours). nicm 2020-04-21 10:37:11 +00:00
  • 57bd6e0447 Turn off the block flag to reset the state or the cursor will not be moved back to the right place. nicm 2020-04-21 06:34:13 +00:00
  • d0b8f5340e Do not clear client pane redraw flags until the redraw actually happens. nicm 2020-04-21 06:32:40 +00:00
  • 1cabccbb2b xterm* needs XT also. nicm 2020-04-21 05:26:13 +00:00
  • 32c3fe40eb Merge branch 'obsd-master' Thomas Adam 2020-04-20 17:43:20 +01:00
  • c706aadf52 Merge branch 'obsd-master' Thomas Adam 2020-04-20 17:42:29 +01:00
  • 4a5182e665 Always start sync for output in panes that are not the active pane. nicm 2020-04-20 15:49:05 +00:00
  • 117ec1b2e6 Apply terminal-overrides after terminal detection, it always takes precedence. nicm 2020-04-20 15:37:32 +00:00
  • 2083a6ea20 Change how sync works to always send the end sequence after all output is done when we are returning to the event loop (since we always move the cursor at that point). Also a man fix from jmc. nicm 2020-04-20 14:59:31 +00:00
  • 135bb1edee Change the Sync capability to be a string instead of a flag. nicm 2020-04-20 13:38:48 +00:00
  • c91b4b2e14 Tidy up the terminal detection and feature code and add named sets of terminal features, each of which are defined in one place and map to a builtin set of terminfo(5) capabilities. Features can be specified based on TERM with a new terminal-features option or with the -T flag when running tmux. tmux will also detect a few common terminals from the DA and DSR responses. nicm 2020-04-20 13:25:36 +00:00
  • 3898d4e7c8 Merge branch 'obsd-master' Thomas Adam 2020-04-20 12:01:32 +01:00
  • 86862c976a Also redraw panes which aren't pane 0. Problem reported by tb@. nicm 2020-04-20 09:07:55 +00:00
  • b1be668a3e Merge branch 'obsd-master' Thomas Adam 2020-04-20 08:01:31 +01:00
  • b846ec2665 Only trim blank lines when the source pane is not the target pane, otherwise the cursor moves which is a bit strange. nicm 2020-04-20 06:08:37 +00:00
  • 4bc0a83d51 Need to check for pane redrawing even if just the window flag is set (the pane flag may not have been previously set to avoid looping the windows). nicm 2020-04-20 06:07:39 +00:00
  • 8c9bbc3749 Merge branch 'obsd-master' Thomas Adam 2020-04-19 00:01:31 +01:00
  • 62ff5e4b01 The PANE_REDRAW flag bit might be needed by other panes so we can't clear it on the first redraw, and it can't be set when we are finished or they would be redrawn again, so if the redraw is deferred for a client, copy the redraw flag into a separate set of bits just for that client. nicm 2020-04-18 21:35:32 +00:00
  • 7da5418758 Merge branch 'obsd-master' Thomas Adam 2020-04-18 20:01:29 +01:00
  • 100db552d1 A resize can realloc so cannot cache the value of the list pointer. nicm 2020-04-18 17:20:25 +00:00
  • 2b83ee5557 Merge branch 'obsd-master' Thomas Adam 2020-04-18 18:01:28 +01:00