aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Redraw selection in tty_draw_line, so it appears when redrawing wholenicm2016-10-12
| | | | pane. Reported by Theo Buehler.
* The repeat prompt in both emacs and vi (and the old one in tmux) doesn'tnicm2016-10-12
| | | | | | support line editing and instead executes a command as soon as a non-number key is pressed. Add a -N flag to command-prompt for the same in copy mode. Reported by Theo Buehler.
* Unused variable and missing time.h.nicm2016-10-12
|
* Some other stuff that can be local to one file.nicm2016-10-11
|
* Add static in window-*.c and move some internal functions out of tmux.h.nicm2016-10-11
|
* Support double and triple clicks (they are cumulative, so double isnicm2016-10-11
| | | | | fired then triple), and use for select-word and select-line in copy mode. Inspired by a different solution from Omar Sandoval.
* Fundamental change to how copy mode key bindings work:nicm2016-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | The vi-copy and emacs-copy mode key tables are gone, and instead copy mode commands are bound in one of two normal key tables ("copy-mode" or "copy-mode-vi"). Keys are bound to "send-keys -X copy-mode-command". So: bind -temacs-copy C-Up scroll-up bind -temacs-copy -R5 WheelUpPane scroll-up Becomes: bind -Tcopy-mode C-Up send -X scroll-up bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up This allows the full command parser and command set to be used - for example, we can use the normal command prompt for searching, jumping, and so on instead of a custom one: bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'" command-prompt also gets a -1 option to only require on key press, which is needed for jumping. The plan is to get rid of mode keys entirely, so more to come eventually.
* Support UTF-8 entry into the command prompt.nicm2016-10-11
|
* Add static in cmd-* and fix a few other nits.nicm2016-10-10
|
* Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
|
* Do not allow the opposite pane to resize when dragging with the mousenicm2016-10-10
| | | | | because it is not possible to keep the mouse on the border when the minimum size is reached.
* Some more static.nicm2016-10-10
|
* Make the CLIENT_STATUS flag imply that pane status lines are redrawn ifnicm2016-10-09
| | | | | they are enabled and break the actual screen generation code into a separate function. Fixes problems reported by Romain Francoise.
* Pass file/line to new command for if-shell so that errors appearnicm2016-10-09
| | | | sensibly.
* Handle NULL window or session for user options.nicm2016-10-09
|
* Use xsnprintf not snprintf for the prompt in window_copy_write_linenicm2016-10-09
| | | | | because we don't care if it is truncated to the screen width, we don't want it to be fatal.
* screen_write_copy tried to be clever and clear the line if it reachednicm2016-10-05
| | | | | | | the end of the source, but it was wrong and causes problems that are only showing up now we are more aggressive about skipping redundant screen updates. Remove the optimization entirely as more trouble than it is worth to fix (and it'll have to go when BCE is done anyway).
* Wrap some long lines in screen-write.c.nicm2016-10-05
|
* Keep buffer creation time and add accessors for it and the order number.nicm2016-10-05
|
* Allow cmd_mouse_at return arguments to be NULL.nicm2016-10-05
|
* Remove some dead code in cmd-move-window.c and make a load of localnicm2016-10-03
| | | | functions static.
* Document set-hook -u.nicm2016-10-03
|
* Remove some redundant checks and make ich/dch consistent.nicm2016-10-03
|
* Check padding when writing any character with width > 1, in case theynicm2016-09-29
| | | | | overlap after the first character (for example with cells xy and ab, y is replacing a).
* Couple of vasprintf -> xvasprintf.nicm2016-09-28
|
* Rate limit TIOCSWINSZ on a timer to avoid programs getting hammered withnicm2016-09-28
| | | | | SIGWINCH when the size changes rapidly. To help a problem reported by Rui Pinheiro.
* Support set -a (append) with user options, suggested by Xandor Schiefer.nicm2016-09-26
|
* Swap watermarks from high (4096) to low (128) when we get full buffersnicm2016-09-16
| | | | | | | | | into the read callback several times in succession; swap back when we see empty buffers several times. This hopefully limits how much programs that print a lot for a long period can monopolize tmux (like large, fast compiling), without penalizing programs that print a lot briefly (like most curses applications). Helps a lot for me, the actual numbers may need tweaking later.
* Allow repeat count to be specified in mode key tables with bind-key -R,nicm2016-09-12
| | | | | and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode.
* Add support for performing a full width split (with splitw -f), rathernicm2016-09-04
| | | | than splitting the current cell. From Stephen Kent.
* Remember the number of lines scrolled into the history (versus clearednicm2016-09-02
| | | | | | into the history) and when resizing only use scrolled lines and not cleared lines (which are probably not intended to reappear). From Chaoren Lin.
* Kill empty window after moving pane and updating current window, so thatnicm2016-08-27
| | | | | index is still valid before renumber-windows happens. Fixes issue reported by Eric Pruitt.
* Do not crash if display-message used without a client, issue reported bynicm2016-08-25
| | | | Serge Aleynikov, fix from Thomas Adam.
* Two minor fixes from dilyan palauzov.nicm2016-08-22
|
* We only replace the first %%, not multiple (use %2 for second).nicm2016-08-03
|
* Fix minimum size when pane status line is enabled, reported by Y Petremann.nicm2016-08-03
|
* Tweak output of environment logging.nicm2016-07-15
|
* Log environment to new panes.nicm2016-07-15
|
* Wrap some long lines and apply some static.nicm2016-07-15
|
* Don't update cells in each block of data read from a pane immediately,nicm2016-07-15
| | | | | | instead track them as change (dirty) and update them once at the end, saves much time if repeatedly writing the same cell. Also fix comparison of cells being equal in a few places (memcmp is not enough).
* Instead of representing colours in several different forms with variousnicm2016-07-15
| | | | | | cell flags, convert to use an int with flags marking 256 or RGB colours in the top byte (except in cells, which we don't want to make any bigger). From Brad Town.
* tmux: only consider ACCESSPERMS for setting mode on socket_path.semarie2016-07-07
| | | | | | | it explicitly removes any S_ISUID|S_ISGID|S_ISTXT bits, instead of letting pledge(2) silenciously remove them. ok nicm@ beck@ deraadt@
* Allow a command to be specified to display-panes, similar tonicm2016-06-16
| | | | command-prompt, rather than always just selecting the pane.
* Add missing buffer_name format, from Awal Garg.nicm2016-06-15
|
* Copy mode needs to keep the original grid intact so it can copy from itnicm2016-06-15
| | | | | | if needed, so it disables reading from the pane. This can be problem with some programs. So make tmux automatically exit all modes after 180 seconds of inactivity and if there is pending output.
* Add -F to list-commands.nicm2016-06-15
|
* Spelling error (incrased -> increased), from Josh Soref.nicm2016-06-10
|
* Much faster (and smaller) method of mapping RGB colour to an xterm(1)nicm2016-06-06
| | | | colour, from Avi Halachmi.
* Cache selected state so that cells going from selected to unselected are notnicm2016-06-06
| | | | skipped, reported by Omar Sandoval.
* Insert new panes after the pane being split in the list rather thannicm2016-06-06
| | | | | always after the active pane. This is more sensible when doing it with commands rather than keys.