Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Sync OpenBSD patchset 539: | Tiago Cunha | 2009-11-14 |
| | | | | | | Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the command entry structs and a couple of functions to check/set the flags. | ||
* | Sync OpenBSD patchset 320: | Tiago Cunha | 2009-09-07 |
| | | | | | | Reference count clients and sessions rather than relying on a saved index for cmd-choose-*. | ||
* | Include <ctype.h>. | Tiago Cunha | 2009-08-25 |
| | |||
* | Sync OpenBSD patchset 294: | Tiago Cunha | 2009-08-25 |
Add a choose-client command and extend choose-{session,window} to accept a template. After a choice is made, %% (or %1) in the template is replaced by the name of the session, window or client suitable for -t and the result executed as a command. So, for example, "choose-window "killw -t '%%'"" will kill the selected window. The defaults if no template is given are (as now) select-window for choose-window, switch-client for choose-session, and detach-client for choose-client (now bound to D). |