summaryrefslogtreecommitdiffstats
path: root/cmd-show-options.c
AgeCommit message (Collapse)Author
2009-07-15Having to update NSETOPTION/NSETWINDOWOPTION when adding new options is a bitNicholas Marriott
annoying and it is only use for iterating, so use a sentinel to mark the end of each array instead. Different fix for a problem pointed out by Kalle Olavi Niemitalo.
2009-07-14Having fixed flags for single-character getopt options is a bit hard toNicholas Marriott
maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. This means new single character options can be used without the need to add it explicitly to the list.
2009-07-08Fix $Id$.Nicholas Marriott
2009-07-08Rename the global options variables to be shorter and to make session optionsNicholas Marriott
clear. No functional change, getting this out of the way to make later options changes easier.
2009-01-27Allow status, mode and message attributes to be changed by three new ↵Nicholas Marriott
options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink From Josh Elsasser, thanks!
2009-01-19Pass return code from _exec; allow command sequences to work from the ↵Nicholas Marriott
command line.
2008-12-10Import OpenBSD's getopt(3) to workaround broken glibc version.Nicholas Marriott
2008-12-08Make window options work the same was as session options, add ↵Nicholas Marriott
mode-fg/mode-bg options, force -g for global on set/show/setw/showw/
2008-09-25Fix stupid GNU getopt behaviour.Nicholas Marriott
2008-09-10Split colour functions from screen.Nicholas Marriott
2008-06-23Split internal status-colour into status-fg/status-bg options and lose ↵Nicholas Marriott
workarounds in set-option stuff.
2008-06-23Split options into a table to allow abbreviations.Nicholas Marriott
2008-06-18Trimify.Nicholas Marriott
2008-06-16Document show-options.Nicholas Marriott
2008-06-15Add a couple of extra option types, and implement show-options command.Nicholas Marriott