OpenBSD CVS

CVS log for src/usr.bin/tmux/options.c


[BACK] Up to [local] / src / usr.bin / tmux

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.69 / (download) - annotate - [select for diffs], Fri Jun 17 07:28:05 2022 UTC (23 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.68: +5 -12 lines
Diff to previous 1.68 (colored)

Check cursor options when a pane is created, not just when they are changed.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Mar 16 17:00:17 2022 UTC (2 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.67: +7 -1 lines
Diff to previous 1.67 (colored)

Add an option to set the character used for unused areas of the
terminal, GitHub issue 3110.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Nov 3 13:37:17 2021 UTC (2 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.66: +9 -1 lines
Diff to previous 1.66 (colored)

Add a cursor-style option, from Alexis Hildebrandt in GitHub issue 2960.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Nov 1 09:34:49 2021 UTC (2 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.65: +9 -2 lines
Diff to previous 1.65 (colored)

Add a cursor-colour option, from Alexis Hildebrandt in GitHub issue
2959.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Oct 14 13:19:01 2021 UTC (2 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.64: +23 -12 lines
Diff to previous 1.64 (colored)

Add popup-border-lines option to set popup line style, from Alexis
Hildebrandt, GitHub issue 2930.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Aug 21 17:25:32 2021 UTC (2 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.63: +1 -5 lines
Diff to previous 1.63 (colored)

Stop caring about empty commands, just treat as a null command.

Revision 1.63 / (download) - annotate - [select for diffs], Wed Aug 11 20:49:55 2021 UTC (2 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.62: +21 -2 lines
Diff to previous 1.62 (colored)

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.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Mar 11 06:31:05 2021 UTC (3 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

Add split-window -Z to start the pane zoomed, GitHub issue 2591.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Jan 18 11:14:23 2021 UTC (3 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.60: +5 -4 lines
Diff to previous 1.60 (colored)

Hide some warnings on newer GCC versions, GitHUb issue 2525.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Aug 25 11:35:32 2020 UTC (3 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.59: +31 -13 lines
Diff to previous 1.59 (colored)

Allow colour to be spelt as color, from Boris Verkhovsky. GitHub issue
2317.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jun 16 08:18:34 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.58: +21 -2 lines
Diff to previous 1.58 (colored)

d and D keys to reset to default in customize mode.

Revision 1.58 / (download) - annotate - [select for diffs], Sat May 16 16:35:13 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Separate key flags and modifiers, log key flags, make the "xterm" flag
more explicit and fix M- keys with a leading escape.

Revision 1.57 / (download) - annotate - [select for diffs], Sat May 16 16:02:24 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.56: +247 -7 lines
Diff to previous 1.56 (colored)

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.

Revision 1.56 / (download) - annotate - [select for diffs], Sat May 16 15:01:31 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.55: +46 -54 lines
Diff to previous 1.55 (colored)

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.

To make this work, a few other changes:

- set-option -a with a style option automatically appends a ",".

- OSC 10 and 11 don't set the window-style option anymore, instead the
  fg and bg are stored in the pane struct and act as the defaults that
  can be overridden by window-style.

- status-fg and -bg now override status-style instead of trying to keep
  them in sync.

Revision 1.55 / (download) - annotate - [select for diffs], Tue Dec 3 10:47:22 2019 UTC (4 years, 5 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

Style nits in function arguments.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Oct 15 08:30:36 2019 UTC (4 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.53: +36 -19 lines
Diff to previous 1.53 (colored)

Rewrite options_array_set to be clearer and remove a spurious warning
with newer GCC. From Ben Boeckel.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Oct 14 08:38:07 2019 UTC (4 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored)

Memory leaks, from Igor Wong in GitHub issue 1934.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jun 23 10:00:29 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.51: +1 -2 lines
Diff to previous 1.51 (colored)

Do not always set scope for panes because the window check might fail,
GitHub issue 1810.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jun 20 18:13:04 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.50: +19 -12 lines
Diff to previous 1.50 (colored)

FIx return of options_scope_from_name on error.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jun 20 11:59:59 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.49: +67 -35 lines
Diff to previous 1.49 (colored)

Add a per-pane option set. Pane options inherit from window options (so
there should be no change to existing behaviour) and are set and shown
with set-option -p and show-options -p.

Change remain-on-exit and window-style/window-active-style to be pane
options (some others will be changed later).

This makes select-pane -P and -g unnecessary so no longer document them
(they still work) and no longer document set-window-option and
show-window-options in favour of set-option -w and show-options -w.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jun 20 07:41:29 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.48: +52 -2 lines
Diff to previous 1.48 (colored)

Add a helper function to work out option table from name.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jun 8 21:48:29 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Do not try to parse command when unsetting, GitHub issue 1788.

Revision 1.47 / (download) - annotate - [select for diffs], Thu May 30 20:54:03 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

Remove a leftover abort and some fixes from cppcheck.

Revision 1.46 / (download) - annotate - [select for diffs], Thu May 23 14:03:44 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Break the argument escaping code into a separate function and use it to
escape key bindings in list-keys. Also escape ~ and ; and $ properly.

Revision 1.45 / (download) - annotate - [select for diffs], Thu May 23 11:13:30 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.44: +13 -8 lines
Diff to previous 1.44 (colored)

Replace the split parser code (cfg.c and cmd-string.c) with a single
parser using yacc(1). This is a major change but is clearer and simpler
and allows some edge cases to be made more consistent, as well as
tidying up how aliases are handled. It will also allow some further
improvements later.

Entirely the same parser is now used for parsing the configuration file
and for string commands. This means that constructs previously only
available in .tmux.conf, such as %if, can now be used in string commands
(for example, those given to if-shell - not commands invoked from the
shell, they are still parsed by the shell itself).

The only syntax change I am aware of is that #{} outside quotes or a
comment is now considered a format and not a comment, so #{ is now a
syntax error (notably, if it is at the start of a line).

This also adds two new sections to the man page documenting the syntax
and outlining how parsing and command execution works.

Thanks to everyone who sent me test configs (they still all parse
without errors - but this doesn't mean they still work as intended!).

Thanks to Avi Halachmi for testing and man page improvements, also to
jmc@ for reviewing the man page changes.

Revision 1.44 / (download) - annotate - [select for diffs], Sun May 12 18:16:33 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.43: +11 -4 lines
Diff to previous 1.43 (colored)

Fix some indentation and dead assignments.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Apr 26 11:38:51 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.42: +56 -19 lines
Diff to previous 1.42 (colored)

Merge hooks into options and make each one an array option. This allows
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
show-options. show-options now has a -H flag to show hooks (by default
they are not shown).

Revision 1.42 / (download) - annotate - [select for diffs], Thu Apr 25 18:18:55 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.41: +17 -24 lines
Diff to previous 1.41 (colored)

Make options_tostring allocate its result instead of using a stack
buffer (needed for something in the future).

Revision 1.41 / (download) - annotate - [select for diffs], Tue Apr 23 20:36:55 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.40: +116 -95 lines
Diff to previous 1.40 (colored)

Indicate an array option with a flag rather than a special type so that
in future will not have to be strings.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Mar 18 21:46:02 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.39: +1 -46 lines
Diff to previous 1.39 (colored)

The individual -fg, -bg and -attr options have been deprecated (in
favour of -style), undocumented and hidden from show-options since
2014. Remove them, except for status-fg and status-bg.

Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 18 11:58:40 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.38: +112 -52 lines
Diff to previous 1.38 (colored)

Make array options a sparse tree instead of an array of char * and
remove the size limit.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Mar 15 21:54:47 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.37: +10 -5 lines
Diff to previous 1.37 (colored)

Add a way to set individual defaults for an array option.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Mar 14 09:53:52 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.36: +16 -16 lines
Diff to previous 1.36 (colored)

Add a wrapper (struct style) around styles rather than using the
grid_cell directly. There will be some non-cell members soon.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Aug 9 13:44:36 2017 UTC (6 years, 9 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.35: +1 -2 lines
Diff to previous 1.35 (colored)

Fix filtering so it works after the change to only show windows if they
have multiple panes.

Revision 1.35 / (download) - annotate - [select for diffs], Wed May 31 17:56:48 2017 UTC (6 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Style and spacing nits.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Apr 22 06:13:30 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Memory leaks, from David CARLIER.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 8 14:43:40 2017 UTC (7 years, 2 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

Handle empty options correctly.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jan 30 21:41:17 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.31: +6 -3 lines
Diff to previous 1.31 (colored)

When a flag option is used in a format, it should use the number form
not string.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 24 19:11:46 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.30: +52 -35 lines
Diff to previous 1.30 (colored)

If given an array option without an index either show or set all items,
and support -a for array options. Allow the separator for set to be
specified in the options table (will be used for backwards compatibility
later).

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 18 08:43:21 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored)

Do not reset idx, it has just been set.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 18 08:40:50 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.28: +7 -1 lines
Diff to previous 1.28 (colored)

options_match needs to explicitly check for user options.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jan 16 23:45:08 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.27: +7 -4 lines
Diff to previous 1.27 (colored)

Correctly handle -style options without all of a corresponding -fg/-bg/-attr.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jan 16 14:49:14 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.26: +54 -54 lines
Diff to previous 1.26 (colored)

getopt() has a struct option so just return to using options_entry.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 15 20:48:41 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.25: +534 -111 lines
Diff to previous 1.25 (colored)

Major tidy up and rework of options tree and set-option/show-options
commands this pushes more of the code into options.c and ties it more
closely to the options table rather than having an unnecessary
split. Also add support for array options (will be used later). Only
(intentional) user visible change is that show-options output is now
passed through vis(3) with VIS_DQ so quotes are escaped.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 15 20:14:36 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Append needs to go old,new not new,old...

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 13 11:58:49 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

options_get_style return const too.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 13 11:56:43 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Make options_get_string return const string.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 12 15:36:35 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.21: +23 -21 lines
Diff to previous 1.21 (colored)

Simplify appending to string options.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 11 14:56:44 2017 UTC (7 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.20: +31 -29 lines
Diff to previous 1.20 (colored)

Some tidying and tweaks to options code.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Oct 10 21:29:23 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored)

Loads more static, except for cmd-*.c and window-*.c.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 26 09:02:34 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.18: +6 -2 lines
Diff to previous 1.18 (colored)

Support set -a (append) with user options, suggested by Xandor Schiefer.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 19 15:59:12 2016 UTC (8 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

I no longer use my SourceForge address so replace it.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Dec 11 15:46:57 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.16: +22 -22 lines
Diff to previous 1.16 (colored)

We cannot do hooks_find and then hooks_remove because it might have come
from the parent (global) tree, instead make it remove by name like options.

While here, also tidy up a few bits of options and hooks handling (use
RB_FOREACH_SAFE, and a helper function for the free).

Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 8 08:14:04 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Spacing nits.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 18 13:06:54 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.14: +7 -7 lines
Diff to previous 1.14 (colored)

Sync the entire xmalloc.[ch] with the other users, but with the addition
of xrealloc, xvasprintf, xvsnprintf.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Nov 13 16:06:43 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.13: +7 -7 lines
Diff to previous 1.13 (colored)

Log option names in fatal() for missing option.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 27 15:58:42 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.12: +27 -3 lines
Diff to previous 1.12 (colored)

Move struct options into options.c.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Feb 18 15:32:37 2015 UTC (9 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.11: +13 -7 lines
Diff to previous 1.11 (colored)

When given an invalid style, don't set the option to the default. Fix
from J Raynor. Also make style_parse not alter the grid_cell when it
fails.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Oct 20 23:57:14 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Better format for printf format attributes.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 28 23:07:09 2014 UTC (10 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.9: +37 -1 lines
Diff to previous 1.9 (colored)

Allow replacing each of the many sets of separate foo-{fg,bg,attr}
options with a single foo-style option. For example:

    set -g status-fg yellow
    set -g status-bg red
    set -g status-attr blink

Becomes:

    set -g status-style fg=yellow,bg=red,blink

The -a flag to set can be used to add to rather than replace a style. So:

    set -g status-bg red

Becomes:

    set -ag status-style bg=red

Currently this is fully backwards compatible (all *-{fg,bg,attr} options
remain) but the plan is to deprecate them over time.

From Tiago Cunha.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 9 13:58:06 2014 UTC (10 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Style and comment fixes from Tiago Cunha.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 10 11:53:01 2012 UTC (11 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.7: +10 -9 lines
Diff to previous 1.7 (colored)

xfree is not particularly helpful, remove it. From Thomas Adam.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 21 11:12:13 2012 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.6: +12 -12 lines
Diff to previous 1.6 (colored)

Use RB trees not SPLAY.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 21 08:40:09 2012 UTC (12 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.5: +1 -42 lines
Diff to previous 1.5 (colored)

Drop the ability to have a list of keys in the prefix in favour of two
separate options, prefix and prefix2. This simplifies the code and gets
rid the data options type which was only used for this one option.

Also add a -2 flag to send-prefix to send the secondary prefix key,
fixing a cause of minor irritation.

People who want three prefix keys are out of luck :-).

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 22 12:38:10 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.4: +42 -1 lines
Diff to previous 1.4 (colored)

Permit multiple prefix keys to be defined, separated by commas, for example:

set -g prefix ^a,^b

Any key in the list acts as the prefix. The send-prefix command always sends
the first key in the list.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 21 14:56:03 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored)

Use option print function for info messages as well.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 21 07:00:09 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.2: +9 -9 lines
Diff to previous 1.2 (colored)

Drop tiny union from option struct.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jul 21 19:54:22 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.1: +3 -4 lines
Diff to previous 1.1 (colored)

Make some functions which return unused values void (mostly found by lint) and
tweak a redundant expression in window_pane_set_mode.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 1 22:58:49 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6

Import tmux, a terminal multiplexor allowing (among other things) a single
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.

ok deraadt pirofti

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.