aboutsummaryrefslogtreecommitdiff
path: root/status.c
Commit message (Collapse)AuthorAge
* Add a flag to display-menu to select the manu item chosen first, GitHubnicm2023-01-20
| | | | issue 3442.
* Use correct option name.nicm2022-09-10
|
* Add message-line option to control where message and prompt go, fromnicm2022-09-09
| | | | Varun Kumar E in GitHub issue 3324.
* Remove duplicates from completion list, GitHub issue 3178.nicm2022-05-30
|
* Pass client when adding menu item, GitHub issue 3103.nicm2022-03-07
|
* Use format_draw for command prompt prefix to allow styles, GitHub issuenicm2022-02-03
| | | | 3054.
* Leave the hardware cursor at the position of the selected line in choosenicm2021-11-15
| | | | | | modes and current editing position and at the command prompt. It is invisible but this is helpful for people using screen readers. GitHub issue 2970.
* Fix a comparison, from Ben Boeckel, and a crash when opening completionnicm2021-11-01
| | | | menu, from Anindya Mukherjee.
* Accept some emacs control keys in vi normal mode, from Alexisnicm2021-10-26
| | | | Hildebrandt in GitHub issue 2922.
* Remove stray spaces after function names.nicm2021-08-20
|
* Use COLOUR_DEFAULT not hardcoded 8.nicm2021-08-12
|
* More accurate vi(1) word navigation in copy mode and on the status line.nicm2021-06-10
| | | | | | This changes the meaning of the word-separators option - setting it to the empty string is equivalent to the previous behavior. From Will Noble in GitHub issue 2693.
* Add different command historys for different types of promptsnicm2021-06-10
| | | | ("command", "search" etc). From Anindya Mukherjee.
* Move "special" keys into the Unicode PUA rather than making them top bitnicm2021-06-10
| | | | | set, some compilers do not allow enums that are larger than int. GitHub issue 2673.
* Include current client in size calculation for new sessions, GitHubnicm2021-06-10
| | | | issue 2662.
* Add a flag to disable keys to close a message, GitHub issue 2625.nicm2021-04-12
|
* Move jump commands to grid reader, make them UTF-8 aware, and tidy up,nicm2021-02-22
| | | | from Anindya Mukherjee.
* With incremental search, start empty and only repeat the previous searchnicm2021-01-08
| | | | | if the user tries to search again with an empty prompt. This matches emacs behaviour more closely.
* Add a -d option to display-message to set delay, from theonekeyg atnicm2020-07-27
| | | | gmail dot com in GitHub issue 2322.
* Fix a crash when completing sessions, from Anindya Mukherjee.nicm2020-06-11
|
* Remove leftover debug logging and fix comparison.nicm2020-05-26
|
* Use the internal representation for UTF-8 keys instead of wchar_t andnicm2020-05-25
| | | | drop some code only needed for that.
* Separate key flags and modifiers, log key flags, make the "xterm" flagnicm2020-05-16
| | | | more explicit and fix M- keys with a leading escape.
* Expand target from client and use it to expand the prompt.nicm2020-05-16
|
* Support embedded styles in the display-message message, GitHub issuenicm2020-05-16
| | | | 2206.
* Change message log to be per server rather than per client and includenicm2020-05-16
| | | | every command that is run.
* Do not hoke into struct window_pane from the tty code and instead setnicm2020-05-16
| | | | | | | everything up in tty_ctx. Provide a way to initialize the tty_ctx from a callback and use it to let popups draw directly through input_parse in the same way as panes do, rather than forcing a full redraw on every change.
* Use formats for status-style and message-style.nicm2020-05-16
|
* Complete partial window indexes properly.nicm2020-05-16
|
* Add -W and -T flags to command-prompt to only complete a window and anicm2020-05-16
| | | | target, also complete aliases.
* Improve command prompt completion:nicm2020-05-16
| | | | | | | | | | | - Show a menu with completions if there are multiple. - Don't complete argument stuff (options, layouts) at start of text. - For -t and -s, if there is no : then complete sessions but if there is a :, show a menu of all windows in the session rather than trying to complete the window name which is a bit useless if there are duplicates.
* Drop having a separate type for style options and make them all strings,nicm2020-05-16
| | | | | | | | | | | | | | | | | 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.
* Add C-g to cancel command prompt with vi(1) keys as well as emacs, and qnicm2020-03-12
| | | | in command mode.
* Add support for adding a note to a key binding (with bind-key -N) andnicm2020-01-27
| | | | | | | | | | | | use this to add descriptions to the default key bindings. A new -N flag to list-keys shows key bindings with notes rather than the default bind-key command used to create them. Change the default ? binding to use this to show a readable summary of keys. Also extend command-prompt to return the name of the key pressed and add a default binding (/) to show the note for the next key pressed Suggested by Alex Tremblay in GitHub issue 2000.
* Redraw status line if size changes, GitHub issue 1762. Also fix lengthnicm2019-05-28
| | | | of target buffer when pasting into status line.
* Fix length calculation for pasting UTF-8 characters in the status line,nicm2019-05-23
| | | | GitHub issue 1753.
* Do not reduce window height by status line height for control modenicm2019-05-11
| | | | clients, from George Nachman.
* Fix reverse attribute in status line, GitHub issue 1709.nicm2019-05-03
|
* Merge hooks into options and make each one an array option. This allowsnicm2019-04-26
| | | | | | | 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).
* options_array_item_value cannot return NULL.nicm2019-04-25
|
* Somehow missed these bits in last commit.nicm2019-04-23
|
* Indicate an array option with a flag rather than a special type so thatnicm2019-04-23
| | | | in future will not have to be strings.
* Extend the #[] style syntax and use that together with previous formatnicm2019-03-18
| | | | | | | | | | | | | | | | | | | | changes to allow the status line to be entirely configured with a single option. Now that it is possible to configure their content, enable the existing code that lets the status line be multiple lines in height. The status option can now take a value of 2, 3, 4 or 5 (as well as the previous on or off) to configure more than one line. The new status-format array option configures the format of each line, the default just references the existing status-* options, although some of the more obscure status options may be eliminated in time. Additions to the #[] syntax are: "align" to specify alignment (left, centre, right), "list" for the window list and "range" to configure ranges of text for the mouse bindings. The "align" keyword can also be used to specify alignment of entries in tree mode and the pane status lines.
* Make array options a sparse tree instead of an array of char * andnicm2019-03-18
| | | | remove the size limit.
* With force, kill previous job before starting new. Fixes problemnicm2019-03-18
| | | | reported by Scott Mcdermott in GitHub issue 1627.
* Use a pointer for the active screen in the status line instead ofnicm2019-03-16
| | | | copying them around all the time.
* Give status_save_old the client so it can do the reinit too.nicm2019-03-16
|
* Tidy and rename some bits of status line code.nicm2019-03-16
|
* Move status line free into its own function.nicm2019-03-15
|
* Store the time in the format tree rather than passing it around.nicm2019-03-14
|