aboutsummaryrefslogtreecommitdiff
path: root/arguments.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2020-04-13
|\
| * Print empty arguments properly.nicm2020-04-12
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-21
|\|
| * Break code to convert an argument as a percentage into a common function.nicm2020-03-21
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-17
|\|
| * getopt is not required to set optarg to NULL when there is no argumentnicm2020-03-17
| | | | | | | | and some do not, so set it explicitly each time.
* | Merge branch 'obsd-master'Thomas Adam2019-07-09
|\|
| * Add a -H flag to send-keys to send literal keys given as hex numbersnicm2019-07-09
| | | | | | | | | | | | (needed for control clients to send mouse sequences). Also add some format flags for UTF-8 and SGR mouse mode. Requested by Bradley Smith in GitHub issues 1832 and 1833.
* | Merge branch 'obsd-master'Thomas Adam2019-06-20
|\|
| * Add a -A flag to show-options to show parent options as well.nicm2019-06-20
| |
* | Merge branch 'obsd-master'Thomas Adam2019-05-29
|\|
| * Use VIS_CSTYLE for the arguments and add the missing escapes it cannicm2019-05-29
| | | | | | | | generate to the parser.
* | Merge branch 'obsd-master'Thomas Adam2019-05-28
|\|
| * Do not read past the end of the argument string if it is empty.nicm2019-05-28
| |
* | Merge branch 'obsd-master'Thomas Adam2019-05-27
|\|
| * Add an additional {} syntax for defining strings in the configurationnicm2019-05-27
| | | | | | | | | | | | | | file, making it much tidier to define commands that contain other tmux or shell commands (like if-shell). Also tweak bind-key to expect a string if it is only given one argument, so {} can be used with it as well. From Avi Halachmi.
* | Merge branch 'obsd-master'Thomas Adam2019-05-23
|\|
| * Break the argument escaping code into a separate function and use it tonicm2019-05-23
| | | | | | | | escape key bindings in list-keys. Also escape ~ and ; and $ properly.
* | Merge branch 'obsd-master'Thomas Adam2019-04-28
|\|
| * Support multiple occurances of the same argument. Use this for a newnicm2019-04-28
| | | | | | | | | | | | flag -e to new-window, split-window, respawn-window, respawn-pane to pass environment variables into the newly created process. From Steffen Christgau in GitHub issue 1697.
* | Merge branch 'obsd-master'Thomas Adam2017-08-23
|\|
| * Run alert hooks based on the options rather than unconditionally, fromnicm2017-08-23
| | | | | | | | Brad Town.
* | Merge branch 'obsd-master'Thomas Adam2017-05-31
|\| | | | | | | | | | | | | Conflicts: Makefile.am cfg.c server-client.c
| * Rewrite of choose mode, both to simplify and tidy the code and to addnicm2017-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some modern features. Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into window-{buffer,client,tree}.c. Buffer mode shows buffers, client mode clients and tree mode a tree of sessions, windows and panes. Each mode has a common set of key bindings plus a few that are specific to the mode. Other changes are: - each mode has a preview pane: for buffers this is the buffer content (very useful), for others it is a preview of the pane; - items may be sorted in different ways ('O' key); - multiple items may be tagged and an operation applied to all of them (for example, to delete multiple buffers at once); - in tree mode a command may be run on the selected item (session, window, pane) or on tagged items (key ':'); - displayed items may be filtered in tree mode by using a format (this is used to implement find-window) (key 'f'); - the custom format (-F) for the display is no longer available; - shortcut keys change from 0-9, a-z, A-Z which was always a bit weird with keys used for other uses to 0-9, M-a to M-z. Now that the code is simpler, other improvements will come later. Primary key bindings for each mode are documented under the commands in the man page (choose-buffer, choose-client, choose-tree). Parts written by Thomas Adam.
| * Do not need getopt.h.nicm2017-04-22
| |
* | vis.h comes from compat.h.Nicholas Marriott2017-01-18
| |
* | Merge branch 'obsd-master'Thomas Adam2017-01-18
|\|
| * Plain stravis() because it will mangle UTF-8 characters, so addnicm2017-01-18
| | | | | | | | utf8_stravis() which calls our existing utf8_strvis() and use it instead
| * Run arguments through vis() as well when printing them.nicm2017-01-18
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-12
|\| | | | | | | | | | | Conflicts: format.c osdep-openbsd.c
| * Add static in window-*.c and move some internal functions out of tmux.h.nicm2016-10-11
| |
* | Merge branch 'obsd-master'Thomas Adam2016-10-10
|\|
| * Some more static.nicm2016-10-10
| |
* | Merge branch 'obsd-master'Thomas Adam2016-01-19
|\|
| * I no longer use my SourceForge address so replace it.nicm2016-01-19
| |
* | Merge branch 'obsd-master'Thomas Adam2015-11-27
|\|
| * Do not set a limit on the length of commands when printing them.nicm2015-11-27
| |
* | Merge branch 'obsd-master'Thomas Adam2015-08-30
|\| | | | | | | | | | | Conflicts: Makefile format.c
| * struct args_entry can go into arguments.c.nicm2015-08-29
| |
* | Check for flock in libbsd for AIX, and remove some getopt.h includes. From JNicholas Marriott2015-07-13
| | | | | | | | Raynor.
* | No need for $Id$ now.Nicholas Marriott2014-11-08
| |
* | Merge branch 'obsd-master'Thomas Adam2014-10-21
|\| | | | | | | | | | | | | | | | | | | Conflicts: Makefile cmd-list-commands.c cmd-suspend-client.c job.c tmux.h xmalloc.c
| * Tidy up some includes.nicm2014-10-20
| |
* | Merge branch 'obsd-master'Thomas Adam2014-04-23
|\| | | | | | | | | | | | | Conflicts: Makefile tmux.1 window.c
| * Don't blindly increase offsets by the return value of snprintf, if therenicm2014-04-11
| | | | | | | | | | wasn't enough space this will go off the end. Instead clamp to the available space. Fixes crash reported by Julien Rebetez.
* | Merge branch 'obsd-master'Thomas2014-01-20
|\|
| * Couple of fixes from cppcheck via Tiago Cunha.nicm2014-01-15
| |
| * Simplify args_set, from Tiago Cunha.nicm2014-01-09
| |
| * Include unistd.h as it is the standard location for getopt().okan2013-11-17
| | | | | | | | OK millert@
* | Merge branch 'obsd-master'Thomas Adam2013-05-31
|\|