aboutsummaryrefslogtreecommitdiff
path: root/screen.c
Commit message (Collapse)AuthorAge
* Merge branch 'obsd-master'Thomas Adam2020-10-30
|\
| * Do not leak path when freeing screen, from Sergey Nizovtsev.nicm2020-10-30
| |
| * Store and restore cursor position when copy mode is resized, fromnicm2020-05-16
| | | | | | | | Anindya Mukherjee.
* | Store and restore cursor position when copy mode is resized, from AnindyaNicholas Marriott2020-05-05
| | | | | | | | Mukherjee.
* | Merge branch 'obsd-master'Thomas Adam2020-04-22
|\|
| * Update the cursor position when deleting lines from screens withoutnicm2020-04-22
| | | | | | | | history, GitHub issue 2173.
* | Merge branch 'obsd-master'Thomas Adam2020-04-18
|\|
| * A resize can realloc so cannot cache the value of the list pointer.nicm2020-04-18
| |
* | Merge branch 'obsd-master'Thomas Adam2020-04-18
|\|
| * There is no point in keeping a bunch of different text buffers for eachnicm2020-04-18
| | | | | | | | | | line when writing, we only need one as big as the line width - there can't be any more text than that since newer will overwrite older.
* | Merge branch 'obsd-master'Thomas Adam2020-04-17
|\|
| * Make sure the cursor position is still on screen after we have trimmednicm2020-04-17
| | | | | | | | empty lines. Also improve some log messages.
* | Merge branch 'obsd-master'Thomas Adam2020-04-15
|\|
| * Instead of fixing with the cursor position when the copied screen isnicm2020-04-15
| | | | | | | | | | | | created, resize it and let the resize/reflow code fix it up and return it. Solves various problems with cursor position and resizing when in copy mode. With Anindya Mukherjee.
* | Merge branch 'obsd-master'Thomas Adam2020-04-15
|\|
| * Use grid_empty_line rather than memset when adding new lines on resize.nicm2020-04-15
| | | | | | | | Also remove some old test code.
* | Merge branch 'obsd-master'Thomas Adam2020-04-07
|\|
| * Do not restore history flag if it was never set.nicm2020-04-07
| |
* | Merge branch 'obsd-master'Thomas Adam2020-03-31
|\|
| * Move alternate screen into the screen rather than the pane.nicm2020-03-31
| |
* | Merge branch 'obsd-master'Thomas Adam2020-02-05
|\|
| * Make list-keys description clearer in tmux.1 and remove an unused variable.nicm2020-02-05
| |
* | Merge branch 'obsd-master'Thomas Adam2020-02-03
|\|
| * Instead of passing titles through vis() which doubles backslashes, justnicm2020-02-03
| | | | | | | | ignore any containing control characters or invalid UTF-8. GitHub issue 2070.
* | Merge branch 'obsd-master'Thomas Adam2019-11-15
|\|
| * Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path).nicm2019-11-15
| |
* | Merge branch 'obsd-master'Thomas Adam2019-04-02
|\|
| * Store and restore cursor across reflow by working out a position basednicm2019-04-02
| | | | | | | | | | on unwrapped lines, rather than a grid offset. Fixes problems reported by Thomas Sattler and Paul de Weerd.
* | Merge branch 'obsd-master'Thomas Adam2019-03-20
|\|
| * Improve cursor positioning after reflow by storing the position as annicm2019-03-20
| | | | | | | | offset into the entire history before reflow and restoring it aftewards.
* | Merge branch 'obsd-master'Thomas Adam2019-01-15
|\|
| * Do not highlight characters which will not be copied, reported bynicm2019-01-15
| | | | | | | | Jaroslaw Rzeszotko.
* | Merge branch 'obsd-master'Thomas Adam2018-07-31
|\|
| * Move struct screen_sel into screen.c and tidy up members that are onlynicm2018-07-31
| | | | | | | | used by copy mode.
* | Merge branch 'obsd-master'Thomas Adam2018-07-04
|\|
| * Add accessors for grid linedata member, for some future work. From Dannicm2018-07-04
| | | | | | | | Aloni.
* | Merge branch 'obsd-master'Thomas Adam2017-11-15
|\|
| * Completely rewrite the reflow code to correctly handle double widthnicm2017-11-15
| | | | | | | | characters (previously they were not accounted for).
* | Merge branch 'obsd-master'Thomas Adam2017-11-02
|\|
| * There is no point in reflowing panes which have not changed width.nicm2017-11-02
| |
* | Merge branch 'obsd-master'Thomas Adam2017-10-06
|\|
| * Add support for the xterm(1) title stack, from Brad Town, GitHub issuenicm2017-10-05
| | | | | | | | 1075.
* | Linux build fixesThomas Adam2017-06-05
|/ | | | Linux doesn't have vis.h
* Be more strict about escape sequences that rename windows or set titles:nicm2017-06-04
| | | | | ignore any that not valid UTF-8 outright, and for good measure pass the result through our UTF-8-aware vis(3).
* Collect sequences of printable ASCII characters and process themnicm2017-02-08
| | | | | | | | | | | | | | | together instead of handling them one by one. This is significantly faster. Sequences are terminated when we reach the end of the line, fill the internal buffer, or a different character is seen by the input parser (an escape sequence, or UTF-8). Rather than writing collected sequences out immediately, hold them until it is necessary (another screen modification, or we consume all available data). This means we can discard changes that would have no effect (for example, lines that would just be scrolled off the screen or cleared). This reduces the total amount of data we write out to the terminal - not important for fast terminals, but a big help with slow (like xterm).
* Make the selection able to exist independent of the cursor position, sonicm2016-11-24
| | | | | | | | | | | | that it is not affected by scrolling. If MouseDragEnd1Pane is bound to the new "stop-selection" command: bind -Tcopy-mode MouseDragEnd1Pane stop-selection A selection made with the mouse will stay as it is after button 1 is released. (It also works bound to a key.) From Artem Fokin.
* Add support for BCE (background colour erase). This makes various escapenicm2016-10-13
| | | | | | | | | | | | sequences (notable EL and ED but also IL, DL, ICH, DCH) create blank cells using the current background colour rather than the default colour. On modern systems BCE doesn't really have many benefits, but most other terminals now support it, some (lazy) applications rely on it, and it is not hard to include now that we have pane background colours anyway. Mostly written by Sean Haugh.
* Redraw selection in tty_draw_line, so it appears when redrawing wholenicm2016-10-12
| | | | pane. Reported by Theo Buehler.
* Add static in window-*.c and move some internal functions out of tmux.h.nicm2016-10-11
|
* Loads more static, except for cmd-*.c and window-*.c.nicm2016-10-10
|