Commit Graph

2637 Commits

Author SHA1 Message Date
5241dae87d Stop caring about empty commands, just treat as a null command. 2021-08-21 17:25:32 +00:00
4d3367e965 Merge branch 'obsd-master' into master 2021-08-21 16:01:26 +01:00
c286fbdcd7 Preserve command group when moving temporary list to current list being
buit.
2021-08-21 14:06:17 +00:00
62036121fa Merge branch 'obsd-master' into master 2021-08-21 12:01:41 +01:00
110ba767e5 Rename a member to match what it will be in future. 2021-08-21 10:28:05 +00:00
08e6360f23 Add args parsing callback for some future work, currently unused. 2021-08-21 10:22:38 +00:00
d371764d02 Wrap command argument definitions in their own struct. 2021-08-21 08:44:59 +00:00
b0da0cee4d Merge branch 'obsd-master' into master 2021-08-20 22:01:46 +01:00
5f32b7d961 Hide struct args behind a couple of accessor functions. 2021-08-20 19:50:16 +00:00
de94a344f6 Add a couple of const and fix some warnings. 2021-08-20 19:34:51 +00:00
944fde7c57 Merge branch 'obsd-master' into master 2021-08-20 20:01:27 +01:00
90dd474c3e Expose args_value struct (will be needed soon) and add some missing frees. 2021-08-20 18:59:53 +00:00
6cbc83c6a6 Add a way to create an empty arguments set. 2021-08-20 17:53:54 +00:00
79f075bf1b Merge branch 'obsd-master' into master 2021-08-14 01:35:27 +01:00
54773d23b5 Merge branch 'obsd-master' into master 2021-08-14 01:34:54 +01:00
7d7d7c9605 Tweak how mouse works on popup: only Meta alone resizes or moves, not
Meta with other modifiers; button 2 on the left or top border opens
menu, right or bottom resizes; button 1 on any border moves.
2021-08-13 23:05:40 +00:00
7a0cec5ecf Fill in some other bits on new panes. 2021-08-13 19:55:11 +00:00
2588c3e52e Add menu options to convert a popup into a pane. 2021-08-13 19:27:25 +00:00
7789639b5d Add a menu when a popup is present (mouse only for now). 2021-08-13 18:54:54 +00:00
614611a8bd Add -B flag to remove border from popup. 2021-08-13 17:03:29 +00:00
13a0da205b Break message type stuff out into its own header. 2021-08-13 07:37:58 +00:00
2bb0b9d6c5 Change focus to be driven by events rather than walking all panes at end
of event loop, this way the ordering of in and out can be enforced.
GitHub issue 2808.
2021-08-13 06:52:51 +00:00
fada3eb932 Merge branch 'obsd-master' into master 2021-08-12 10:01:22 +01:00
163908fe8a Move hook format setup earlier and add a hook_client, GitHub issue 2809. 2021-08-12 08:05:11 +00:00
44ada9cd67 Merge branch 'obsd-master' into master 2021-08-12 00:01:26 +01:00
7eea3d7ab8 Break the colour palette into a struct rather than just a single array
and use that to support the OSC palette-setting sequences in popups.
Also add a pane-colours array option to specify the defaults. GitHub
issue 2815.
2021-08-11 20:49:55 +00:00
e9d49161e0 Merge branch 'obsd-master' into master 2021-08-11 12:01:20 +01:00
9013600074 Return to applying pane-border-style to the area outside panes, GitHub
issue 2816.
2021-08-11 09:05:21 +00:00
33e332428c Merge branch 'obsd-master' into master 2021-08-06 12:01:24 +01:00
24cd6851f6 Add basic support for zero width joiners, GitHub issues 1605 and 2784. 2021-08-06 09:34:09 +00:00
7cbf4c9027 Merge branch 'obsd-master' into master 2021-07-21 10:01:24 +01:00
f0e02387b2 Do not close popups on resize, instead adjust them to fit, from Anindya
Mukherjee.
2021-07-21 08:06:36 +00:00
e3ff887d2a Merge branch 'obsd-master' into master 2021-07-14 12:01:21 +01:00
732c72c98e Move default value for TERM into tmux.h. 2021-07-14 08:56:00 +00:00
77b1290698 More accurate vi(1) word navigation in copy mode and on the status line.
This changes the meaning of the word-separators option - setting it to
the empty string is equivalent to the previous behavior. From Will Noble
in GitHub issue 2693.
2021-06-10 07:56:47 +00:00
866117636e Add different command historys for different types of prompts
("command", "search" etc). From Anindya Mukherjee.
2021-06-10 07:50:03 +00:00
02a6b39db7 Improve logging of screen mode changes. 2021-06-10 07:43:44 +00:00
f02a6c34e0 Move "special" keys into the Unicode PUA rather than making them top bit
set, some compilers do not allow enums that are larger than int. GitHub
issue 2673.
2021-06-10 07:38:28 +00:00
f9f97c8145 Change cursor style handling so tmux understands which sequences contain
blinking and sets the flag appropriately, means that it works whether
cnorm disables blinking or not. GitHub issue 2682.
2021-06-10 07:36:47 +00:00
84e22168a5 Change resize timers and flags into one timer and a queue which is
simpler and fixes problems with vim when resized multiple times. GitHub
issue 2677.
2021-06-10 07:33:41 +00:00
0c5cbbbf5c Three changes to fix problems with xterm in VT340 mode, reported by
Thomas Sattler.

1) Do not include the DECSLRM or DECFRA features for xterm; they will be
   added instead if secondary DA responds as VT420 (this happens
   already).

2) Set or reset the individual flags after terminal-overrides is
   applied, so the user can properly disable them.

3) Add a capability for DECFRA ("Rect").
2021-06-10 07:28:45 +00:00
022d0210c5 More accurate vi(1) word navigation in copy mode and on the status line. This
changes the meaning of the word-separators option - setting it to the empty
string is equivalent to the previous behavior. From Will Noble in GitHub issue
2693.
2021-05-13 08:49:58 +01:00
c03b57465b Add different command historys for different types of prompts ("command",
"search" etc). From Anindya Mukherjee.
2021-05-03 07:39:32 +01:00
2e7ec8c0b9 Improve logging of screen mode changes. 2021-04-30 20:14:10 +01:00
e2d01795d2 Move "special" keys into the Unicode PUA rather than making them high a top bit
set, some compilers cannot handle enums that are larger than int. GitHub issue
2673.
2021-04-28 09:18:04 +01:00
589d3eb48f Change cursor style handling so tmux understands which sequences contain
blinking and sets the flag appropriately, means that it works whether cnorm
disables blinking or not. GitHub issue 2682.
2021-04-28 09:17:13 +01:00
cf6034da92 Change resize timers and flags into one timer and a queue to fix problems with
vim when resized multiple times. GitHub issue 2677.
2021-04-28 09:16:30 +01:00
7a6446ac17 Three changes to fix problems with xterm in VT340 mode, reported by Thomas
Sattler.

1) Do not include the DECSLRM or DECFRA features for xterm; they will be added
   instead if secondary DA responds as VT420 (this happens already).

2) Set or reset the individual flags after terminal-overrides is applied, so
   the user can properly disable them.

3) Add a capability for DECFRA ("Rect").
2021-04-22 09:01:22 +01:00
bedf2bd437 Merge branch 'obsd-master' into master 2021-04-12 12:01:32 +01:00
e6abe55134 Add a flag to disable keys to close a message, GitHub issue 2625. 2021-04-12 09:36:12 +00:00