aboutsummaryrefslogtreecommitdiff
path: root/window-choose.c
Commit message (Collapse)AuthorAge
...
* No more lint means no more ARGSUSED.Nicholas Marriott2013-03-22
|
* Do not crash when calling choose-tree with a command that changes the mode.Nicholas Marriott2013-03-21
|
* Allow choose commands to be used outside tmux, so long as at least oneNicholas Marriott2013-03-21
| | | | client is attached.
* Automatically reflow wrapped lines when a pane is resized, requested byNicholas Marriott2013-02-05
| | | | many over the years and finally implemented by Richard Woodbury.
* Add -T option to select-window to toggle to last window if alreadyNicholas Marriott2012-12-24
| | | | current, from Raghavendra D Prabhu.
* Make mouse event structure clearer by defining events (up, click, drag)Nicholas Marriott2012-10-26
| | | | | and simplifying how buttons and wheels are represented, from Ailin Nemui. Should be no functional changes.
* Fix a use-after-free when collapsing the tree in choose mode, fromNicholas Marriott2012-10-11
| | | | Carl Henrik Lunde.
* Allow session tree (C-b s) to expand and collapse sessions withNicholas Marriott2012-10-02
| | | | left/right/space keys. From Thomas Adam.
* add cmd-choose-list to allow arbitrary options to be selected. FromNicholas Marriott2012-09-03
| | | | Thomas Adam.
* Instead of requiring a prompt to enter all numbers >10, go back toNicholas Marriott2012-08-27
| | | | | | 0-9a-z and add A-Z and enter the prompt when M-0 to M-9 are pressed (like in copy mode). Prompted by request from mcbride@, help from Thomas Adam.
* Boldify windows with alerts in choose-* list.Nicholas Marriott2012-08-14
|
* Simplify width calculation (all numbers always sequential) and don'tNicholas Marriott2012-08-12
| | | | rely on uninitialized data, from Thomas Adam.
* Instead of numbering choose mode items 0-9a-z and then nothing, numberNicholas Marriott2012-08-11
| | | | | them all and if there are more than 10 use a prompt when 0-9 is pressed. From Thomas Adam.
* xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott2012-07-10
|
* Provide common helper function for adding windows and sessions to chooseNicholas Marriott2012-06-25
| | | | | lists and expand %% in command before using it rather than at callback time. From Thomas Adam.
* Clean up and simplify the choose mode code, from Thomas Adam.Nicholas Marriott2012-06-25
|
* Use a helper function to fire choose callback.Nicholas Marriott2012-04-23
|
* Support all four of the xterm mouse modes. Based on a diff from hsim atNicholas Marriott2010-12-29
| | | | gmx.li.
* Pass in the session, rather than the client, to window modes' key()Nicholas Marriott2010-05-23
| | | | | | | | | function. We were only ever using the client to find the session anyway. This allows send-key to work properly for manipulating copy mode from outside tmux. From Micah Cowan.
* Add scroll-up/scroll-down for choose/more mode, from Micah Cowan.Nicholas Marriott2010-02-01
|
* key should be an int not a char.Nicholas Marriott2010-01-11
|
* Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott2009-12-03
| | | | | time now I've configured emacs to make them displayed in really annoying colours...
* Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott2009-11-26
| | | | the rest to reduce lint output.
* In choose mode, assign each item a number or lowercase letter from thoseNicholas Marriott2009-11-17
| | | | available and accept that as a shortcut key for the item.
* Clean up by introducing a wrapper struct for mouse clicks rather than passingNicholas Marriott2009-10-11
| | | | | | | three u_chars around. As a side-effect this fixes incorrectly rejecting high cursor positions (because it was comparing them as signed char), reported by Tom Doherty.
* Permit options such as status-bg to be configured using the entire 256 colourNicholas Marriott2009-09-10
| | | | palette by setting "colour0" to "colour255".
* If colours are not supported by the terminal, try to emulate a colouredNicholas Marriott2009-08-05
| | | | | | | | background by setting or clearing the reverse attribute. This makes a few applications which don't use the reverse attribute themselves a little happier, and allows the status, message and mode options to have default attributes and fg/bg options that work as expected when set as reverse.
* Add a mode-mouse option to prevent tmux taking over the mouse in choice or copyNicholas Marriott2009-07-30
| | | | modes.
* Next step towards customisable mode keys: build each default table of keys intoNicholas Marriott2009-07-28
| | | | | | a named tree on start and use that for lookups. Also add command to string translation tables and modify list-keys to show the the mode key bindings (new -t argument).
* Change mode key bindings from big switches into a set of tables. Rather thanNicholas Marriott2009-07-27
| | | | | | | lumping them all together, split editing keys from those used in choice/more mode and those for copy/scroll mode. Tidier and clearer, and the first step towards customisable mode keys.
* Get rid of empty mode_key_free function.Nicholas Marriott2009-07-27
|
* A similar for fix for window_choose: don't rely on the callback always beingNicholas Marriott2009-07-17
| | | | | called to free data, have a separate free callback and call it from the mode cleanup code.
* Now that a UTF-8-capable puts function exists, use it for printing strings inNicholas Marriott2009-06-24
| | | | | choice/more modes - lines with UTF-8 now display properly in find-window results.
* Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott2009-06-01
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