Michael Grant
a6ec2b76c2
Merge branch 'tmux:master' into feature-floating-window-panes
2025-11-19 14:23:05 +00:00
Thomas Adam
348f16093c
Merge branch 'obsd-master'
2025-11-18 10:01:07 +00:00
nicm
2a3ec87887
Make -v to source-file pass through to subsequent source-file commands,
...
GitHub issue 4216.
2025-11-18 08:42:09 +00:00
Michael Grant
6dd552d689
Fix floating pane redraw bugs. Allow floating panes to be partly out of the window. This required changing xoff and yoff from u_int to int and it required a fair bit of casting for example when xoff is added to sx or comparing px to xoff. It makes sense for px and sx to be u_int since they refers to things which should never be negative.
2025-11-01 21:47:54 +01:00
Michael Grant
cc83ca6628
Add new newp command.
2025-10-26 14:02:57 +00:00
Michael Grant
968f439672
Initial commit. Add new new-floating-window command to create panes without a layout_cell indicating they are floating panes.
2025-10-04 09:15:51 +01:00
Thomas Adam
9e1f110db0
Merge branch 'obsd-master'
2025-03-24 22:01:11 +00:00
nicm
aca3ffb30a
Add default-client-command to set the command used is tmux is run
...
without a command (the default stays new-session). From David Mandelberg
in GitHub issue 4422.
2025-03-24 20:01:03 +00:00
Thomas Adam
ef68debc8d
Merge branch 'obsd-master'
2025-01-27 12:01:13 +00:00
nicm
4c12ac9fb8
Make list-commands command show only one command if an argument is
...
given, from Ilya Grigoriev in GitHub issue 4352.
2025-01-27 09:16:05 +00:00
Thomas Adam
0903790b00
Merge branch 'obsd-master'
2024-05-18 12:01:09 +01:00
jsg
da06719309
remove externs with no matching var; ok nicm@
2024-05-18 08:50:11 +00:00
Thomas Adam
e3a8b8434c
Merge branch 'obsd-master'
2023-08-17 18:01:09 +01:00
nicm
8636848e63
Add a session, pane and user mouse range types for the status line and
...
add format variables for mouse_status_line and mouse_status_range so
they can be associated with different commands in the key bindings.
GitHub issue 3652.
2023-08-17 14:10:28 +00:00
nicm
cd692b5a68
Add an ACL list for users connecting to the tmux socket. Users may be
...
forbidden from attaching, forced to attach read-only, or allowed to
attach read-write. A new command, server-access, configures the list.
tmux gets the user using getpeereid(3) of the client socket. Users must
still configure file system permissions manually. From Dallas Lyons and
others.
2022-05-30 12:48:57 +00:00
Nicholas Marriott
d6306b634e
Add an ACL list for users connecting to the tmux socket. Users may be forbidden
...
from attaching, forced to attach read-only, or allowed to attach read-write. A
new command, server-access, configures the list. tmux gets the user using
getpeereid(3) of the client socket. Users must still configure file system
permissions manually.
2022-04-06 14:28:50 +01:00
Thomas Adam
31a6e5eff4
Merge branch 'obsd-master' into master
2021-09-10 02:01:12 +01:00
nicm
768fb9080f
Keep -? as usage.
2021-09-09 21:55:03 +00:00
Thomas Adam
609baea95e
Merge branch 'obsd-master' into master
2021-08-27 20:01:11 +01:00
nicm
daec63e5e6
Replace %% in command lists (by copying them) for template arguments ,
...
this means they can be used with {} as well. Also make argument
processing from an existing vector preserve commands. GitHub issue 2858.
2021-08-27 17:25:55 +00:00
Thomas Adam
c6375a0d40
Merge branch 'obsd-master' into master
2021-08-25 12:01:11 +01:00
nicm
03d173cbd8
Validate command argument types (string or command list) and give more
...
useful error messages.
2021-08-25 08:51:55 +00:00
Thomas Adam
324f87cf14
Merge branch 'obsd-master' into master
2021-08-22 12:08:05 +01:00
nicm
326d2ef234
Pass typed arguments out of the parser into the arguments list and let
...
it convert them into strings.
2021-08-21 18:39:07 +00:00
Thomas Adam
4d3367e965
Merge branch 'obsd-master' into master
2021-08-21 16:01:26 +01:00
nicm
68cacaec68
Remove some members of struct cmd which are no longer used.
2021-08-21 14:10:08 +00:00
nicm
c286fbdcd7
Preserve command group when moving temporary list to current list being
...
buit.
2021-08-21 14:06:17 +00:00
Thomas Adam
62036121fa
Merge branch 'obsd-master' into master
2021-08-21 12:01:41 +01:00
nicm
d371764d02
Wrap command argument definitions in their own struct.
2021-08-21 08:44:59 +00:00
Thomas Adam
b0da0cee4d
Merge branch 'obsd-master' into master
2021-08-20 22:01:46 +01:00
nicm
5f32b7d961
Hide struct args behind a couple of accessor functions.
2021-08-20 19:50:16 +00:00
nicm
de94a344f6
Add a couple of const and fix some warnings.
2021-08-20 19:34:51 +00:00
nicm
866117636e
Add different command historys for different types of prompts
...
("command", "search" etc). From Anindya Mukherjee.
2021-06-10 07:50:03 +00:00
Nicholas Marriott
c03b57465b
Add different command historys for different types of prompts ("command",
...
"search" etc). From Anindya Mukherjee.
2021-05-03 07:39:32 +01:00
Thomas Adam
a284664e71
Merge branch 'obsd-master'
2020-06-29 18:01:18 +01:00
bket
2a9bdb700d
Replace TAILQ concatenation loop with TAILQ_CONCAT
...
As a result remove unneeded variables
OK @nicm
2020-06-29 15:53:28 +00:00
Thomas Adam
b0a6025897
Merge branch 'obsd-master'
2020-06-04 10:01:20 +01:00
nicm
b3782d2dc8
Instead of using a custom parse function to process {}, treat it as a
...
set of statements and parse with yacc, then convert back to a string as
the last step. This means the rules are consistent inside and outside
{}, %if and friends work at the right time, and the final result isn't
littered with unnecessary newlines.
2020-06-04 07:12:05 +00:00
nicm
d67245c734
Add a customize mode where keys and options may be browsed and changed,
...
includes adding a brief description of each option. Bound to "C" by
default.
2020-05-16 16:02:24 +00:00
Nicholas Marriott
a61cbf1c33
Add a customize mode where options may be browsed and changed, includes adding
...
a brief description of each option. Bound to "C" by default.
2020-05-08 19:10:09 +01:00
Thomas Adam
acc00cd13a
Merge branch 'obsd-master'
2020-04-13 18:01:43 +01:00
nicm
34804f2709
When parsing strings, put all commands in one group even if there are
...
newlines. This means that for example bind q { a \n b } and bind q "a ;
b" are the same. Also log commands in different groups separated by ;;
rather than ; (a command list like this should never be user visible).
2020-04-13 16:19:37 +00:00
nicm
3f86d6d460
When adding a list of commands to the queue, instead of automatically
...
creating a new state for each group of commands, require the caller to
create one and use it for all the commands in the list. This means the
current target works even with list with multiple groups (which can
happen if they are defined with newlines).
2020-04-13 15:55:51 +00:00
Thomas Adam
b117c3b812
Merge branch 'obsd-master'
2020-04-13 10:30:00 +01:00
nicm
c20eb0c0ae
Make struct cmd local to cmd.c and move it out of tmux.h.
2020-04-13 08:26:27 +00:00
Thomas Adam
8a57d14f4b
Merge branch 'obsd-master'
2020-03-26 11:11:37 +00:00
nicm
8a838b0372
Add support for overlay popup boxes to show text or output temporarily
...
above the normal layout. These work similarly to menus and are created
with the display-popup command.
2020-03-24 08:09:43 +00:00
Thomas Adam
6d3d47c25b
Merge branch 'obsd-master'
2020-01-04 20:01:26 +00:00
nicm
1870cc70ef
Add ~ to quoted characters for %%%, reported by tb@.
2020-01-04 18:01:56 +00:00
Thomas Adam
eeedb43ae8
Merge branch 'obsd-master'
2019-10-03 12:01:25 +01:00