Rivoreo Source Code Repositories
src.rivoreo.one
/
tmux
/
3.2
/
cmd-set-option.c
tag
8627fd2815f18a6e5071886b52a30281d4a0a393
tagger
Nicholas Marriott <nicholas.marriott@gmail.com>
Tue Apr 13 08:38:17 2021 +0100
object
bc4681c83d612a3d9609dd609e7d89b035b25dd5
3.2
8bd29a3
Make synchronize-panes a pane option and add -U flag to set-option to
by nicm
· 3 years, 10 months ago
1bf9555
d and D keys to reset to default in customize mode.
by nicm
· 4 years, 4 months ago
574a9e4
Move lazy resize from the pane to the window, there is no point in
by nicm
· 4 years, 5 months ago
d67245c
Add a customize mode where keys and options may be browsed and changed,
by nicm
· 4 years, 5 months ago
f03b611
Drop having a separate type for style options and make them all strings,
by nicm
· 4 years, 5 months ago
fc83517
Missed a few warnings in previous.
by nicm
· 4 years, 6 months ago
04cdd03
Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make its
by nicm
· 4 years, 6 months ago
c20eb0c
Make struct cmd local to cmd.c and move it out of tmux.h.
by nicm
· 4 years, 6 months ago
9cbe967
Change so that the appropriate hooks for windows and panes belong to
by nicm
· 4 years, 6 months ago
115bb33
Ignore default-shell (and use /bin/sh) if it invalid not just if it is
by nicm
· 4 years, 7 months ago
5f92f92
Add a per-pane option set. Pane options inherit from window options (so
by nicm
· 5 years ago
c1ede50
Add a helper function to work out option table from name.
by nicm
· 5 years ago
dfb7bb6
Merge hooks into options and make each one an array option. This allows
by nicm
· 5 years ago
772b3b7
Indicate an array option with a flag rather than a special type so that
by nicm
· 5 years ago
f34ebfe
The individual -fg, -bg and -attr options have been deprecated (in
by nicm
· 6 years ago
ce6be7a
Make array options a sparse tree instead of an array of char * and
by nicm
· 6 years ago
b4f5b99
Tidy and rename some bits of status line code.
by nicm
· 6 years ago
6469953
Support for windows larger than visible on the attached client. This has
by nicm
· 6 years ago
7ba5ad4
Do not try to set default value on user options (they don't have one),
by nicm
· 7 years ago
89e057d
Do not fail if unset an option that is already unset, reported by Thomas
by nicm
· 7 years ago
95ed7d4
Add user-keys option to allow user-defined keys to be set, from Dan Aloni.
by nicm
· 7 years ago
248aa54
Style and spacing nits.
by nicm
· 7 years ago
b519551
Expand formats in option names and add -F flag to do so in option values as well.
by nicm
· 7 years ago
ee45a8a
Get rid of the extra layer of flags and cmd_prepare() and just store the
by nicm
· 7 years ago
2c9bdd9
Memory leaks, from David CARLIER.
by nicm
· 7 years ago
8b8d096
Style nits.
by nicm
· 8 years ago
5e6a817
Cache status line position to reduce option lookups during output.
by nicm
· 8 years ago
776ce8a
Clear option before adding to array if no -a, reported by Michael Nickerson.
by nicm
· 8 years ago
ffc28a7
Fix set -u on array options.
by nicm
· 8 years ago
61fce27
If given an array option without an index either show or set all items,
by nicm
· 8 years ago
68db958
getopt() has a struct option so just return to using options_entry.
by nicm
· 8 years ago
3054846
-q flag now needs to be checked in a couple more places.
by nicm
· 8 years ago
2b0bc9f
Major tidy up and rework of options tree and set-option/show-options
by nicm
· 8 years ago
24cba59
Simplify appending to string options.
by nicm
· 8 years ago
458b6eb
Some tidying and tweaks to options code.
by nicm
· 8 years ago
f947d25
Do not try to set the CHANGED flag on windows with no active pane, fixes
by nicm
· 8 years ago
b342bd0
Mass rename struct cmd_q to struct cmdq_item and related.
by nicm
· 8 years ago
ed97126
Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.
by nicm
· 8 years ago
a81685b
Add static in cmd-* and fix a few other nits.
by nicm
· 8 years ago
48dd250
Handle NULL window or session for user options.
by nicm
· 8 years ago
69e9806
Support set -a (append) with user options, suggested by Xandor Schiefer.
by nicm
· 8 years ago
1921fac
Cache the window styles and do not look up the window-style options
by nicm
· 8 years ago
0509be0
Add option to include status text in the pane borders. If
by nicm
· 8 years ago
df0983a
show-* and set-* need to handle a missing target.
by nicm
· 9 years ago
995af0e
I no longer use my SourceForge address so replace it.
by nicm
· 9 years ago
a3129fd
Instead of combined flags for -c, -s, -t, split into different sets
by nicm
· 9 years ago
ecfeee2
Use member names in cmd_entry definitions so I stop getting confused
by nicm
· 9 years ago
4a4daf1
Instead of every command resolving the target (-t or -s) itself, prepare
by nicm
· 9 years ago
5ed17e8
Add key-table option to set the default key table for a session, allows
by nicm
· 9 years ago
39cf9c9
Allow prefix and prefix2 to be set to None to disable (useful if you
by nicm
· 9 years ago
fce56c5
Instead of separate tables for different types of options, give each
by nicm
· 9 years ago
577c0e3
Use __unused rather than rolling our own.
by nicm
· 9 years ago
69e0b83
Support UTF-8 key bindings by expanding the key type from int to
by nicm
· 9 years ago
44657bf
Move struct options into options.c.
by nicm
· 9 years ago
16ee4de
Remove some extra blank lines.
by nicm
· 9 years ago
b5aaefc
Move alerts onto events rather than checking every loop.
by nicm
· 9 years ago
b7861f3
Better take on reducing the name timer. Again check for name changes in
by nicm
· 9 years ago
55b8d74
Revert previous; we do need a timer, until I have a better idea. We
by nicm
· 9 years ago
e2100c5
We now only checking for name changes when the active pane has changed,
by nicm
· 9 years ago
f6a0f87
Per-session timers for locking, and remove the global one-second timer.
by nicm
· 9 years ago
75d1005
Run status update on a per-client timer at status-interval.
by nicm
· 9 years ago
d33adc4
Make -q suppress ambiguous option warnings too, from Cam Hutchison.
by nicm
· 9 years ago
4a6c06d
Make unsetting a global option restore it to the default. Diff lying
by nicm
· 9 years ago
aeedb46
Convert clients list into a TAILQ.
by nicm
· 9 years ago
5a2d053
Allow choice options (multiple states) to be toggled between states 0 and 1.
by nicm
· 9 years ago
8d66f4f
Change the windows array into an RB tree and fix some places where we
by nicm
· 9 years ago
45dfc5a
Instead of setting up the default keys by building the key struct
by nicm
· 10 years ago
4e956d5
Various minor style and spacing nits.
by nicm
· 10 years ago
a5d4b7f
Some more long lines.
by nicm
· 11 years ago
2740490
Remove the "info" message mechanism, this was only used for about five
by nicm
· 11 years ago
877bdb4
Extend the -q flag to set-option to suppress errors about unknown
by nicm
· 11 years ago
1e981f4
Don't crash when given a invalid colour, reported by Felix Rosencrantz,
by nicm
· 11 years ago
f835be4
Style nit - no space between function name and bracket.
by nicm
· 11 years ago
945339b
Allow replacing each of the many sets of separate foo-{fg,bg,attr}
by nicm
· 11 years ago
d45c12b
Remove the barely-used and unnecessary command check() function.
by nicm
· 11 years ago
a96a8a1
Clarify error messages when setting options, from Thomas Adam.
by Nicholas Marriott
· 11 years ago
a05b8c4
Add a -o option to set-option to prevent setting an option already set,
by Nicholas Marriott
· 12 years ago
0c0953f
Add user options, prefixed with @. May be set to any arbitrary string.
by Nicholas Marriott
· 12 years ago
ede8312
Make command exec functions return an enum rather than -1/0/1 values and
by Nicholas Marriott
· 12 years ago
df912e3
xfree is not particularly helpful, remove it. From Thomas Adam.
by Nicholas Marriott
· 12 years ago
631d6b5
Do not fire name timer when automatic-rename is off, from Tim Ruehsen a
by Nicholas Marriott
· 13 years ago
f152379
Add -q option to set-option to turn off info message, from marcel partap.
by Nicholas Marriott
· 13 years ago
4e7de21
Allow a single option to be specified to show-options to show just that option.
by Nicholas Marriott
· 13 years ago
535286c
Drop the ability to have a list of keys in the prefix in favour of two
by Nicholas Marriott
· 13 years ago
5d519ba
Add a flag to cmd_find_session so that attach-session can prefer
by Nicholas Marriott
· 14 years ago
f7e9aed
For convenience, work out what type of option is being set by name
by Nicholas Marriott
· 14 years ago
beb6db9
Checking for particular options and redrawing is not necessary as we
by Nicholas Marriott
· 14 years ago
25d551e
Update an out-of-date and inaccurate comment.
by Nicholas Marriott
· 14 years ago
db7a89b
Simplify the way jobs work and drop the persist type, so all jobs are
by Nicholas Marriott
· 14 years ago
96c37fa
Now that parsing is common, merge some of the small, related commands
by Nicholas Marriott
· 14 years ago
55346b0
argc will be 1 not 2 with no option value.
by Nicholas Marriott
· 14 years ago
7502cb3
Clean up and simplify tmux command argument parsing.
by Nicholas Marriott
· 14 years ago
3e81240
Move the user-visible parts of all options (names, types, limit, default
by Nicholas Marriott
· 14 years ago
cc42614
Change from a per-session stack of buffers to one global stack which is
by Nicholas Marriott
· 14 years ago
c198664
Add other-pane-height and other-pane-width options, allowing the width
by Nicholas Marriott
· 14 years ago
e26a351
Add an option to alert (monitor) for silence (lack of activity) in a
by Nicholas Marriott
· 14 years ago
9a7cde0
Two new options:
by Nicholas Marriott
· 14 years ago
5309252
Reset running jobs when the status line is enabled or disabled as well,
by Nicholas Marriott
· 14 years ago
26524c9
New option, detach-on-destroy, to set what happens to a client when the session
by Nicholas Marriott
· 14 years ago
d911279
Colour+attribute options for status line alerts, from Alex Alexander.
by Nicholas Marriott
· 14 years ago
Next »