Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-13 | Use 8 for underscore colour defaults instead of 0 which is less | Nicholas Marriott | |
confusing, and fix writing tge default colour. GitHub issue 3627. | |||
2023-06-30 | Change a few types to fix warnings, from Thomas Klausner. | Nicholas Marriott | |
2023-05-08 | Reorder struct grid_cell_entry | Theo Buehler | |
On aarch64 with llvm 15, the new -Wunaligned-access emits noise on every one of tmux's source files. This avoids this warning by moving a u_char to the end of the struct. This does not change the size of the struct on any architecture. ok nicm | |||
2022-09-28 | Add a -T flag to capture-pane to stop at the last used cell instead of | Nicholas Marriott | |
the full width. Restore the previous behaviour by making it default to off unless -J is used (the only time it matters). Fixes mosh unit tests; GitHub issue 3339. | |||
2022-07-06 | Support hyperlinks with capture-pane -e and add a mouse_hyperlink | Nicholas Marriott | |
format, GitHub issue 3247 from Jeff Chiang. | |||
2022-06-30 | Add support for OSC 8 hyperlinks (a VTE extension now supported by other | Nicholas Marriott | |
terminals such as iTerm2). Originally written by me then extended and completed by first Will Noble and later Jeff Chiang. GitHub issues 911, 2621, 2890, 3240. | |||
2022-06-21 | Store time lines are scrolled into history and display in copy mode. | Nicholas Marriott | |
2022-03-30 | Capture up to used size not available size for each line. | Nicholas Marriott | |
2021-12-21 | Support underscore style with capture-pane -e, GitHub issue 2928. | Nicholas Marriott | |
2021-02-05 | Send Unicode directional isolate characters around horizontal pane | Nicholas Marriott | |
borders if the terminal support UTF-8 and an extension terminfo(5) capability "Bidi" is present. On terminals with BiDi support (ie, VTE) this seems to be enough to display right-to-left text acceptably enough to be usable (with some caveats about the mouse position). Requested by and with help from Mahmoud Elagdar in GitHub issue 2425. | |||
2021-01-18 | There is no need to clear every line entirely before drawing to it, this | Nicholas Marriott | |
means moving the cursor and messes up wrapping. Better to just clear the sections that aren't written over. GitHub issue 2537. | |||
2020-08-07 | Do not force line width to grid width because it may need to be larger | Nicholas Marriott | |
to accomodate a wide character. GitHub issue 2336. | |||
2020-06-05 | Do not take the address of a potentially unaligned member. | Nicholas Marriott | |
2020-06-04 | Reset wrapped flag when clearing or moving lines, GitHub issue 2215. | Nicholas Marriott | |
2020-06-02 | Move the code to set up a padding cell into grid.c. | Nicholas Marriott | |
2020-06-02 | Allow UTF-8 characters of width 0 to be stored, it is useful to be able | Nicholas Marriott | |
to put padding cells in as width 0. | |||
2020-05-27 | Make padding cell a valid character. | Nicholas Marriott | |
2020-05-26 | Remove leftover debug logging and fix comparison. | Nicholas Marriott | |
2020-05-25 | Use the internal representation for UTF-8 keys instead of wchar_t and | Nicholas Marriott | |
drop some code only needed for that. | |||
2020-05-25 | Tidy up new UTF-8 code and make it more generic. | Nicholas Marriott | |
2020-05-25 | Instead of storing all UTF-8 characters in the extended cell which means | Nicholas Marriott | |
that 14 bytes are wasted for each character in the BMP, only store characters of three bytes or less in the cell itself and store others (outside the BMP or with combining characters) in a separate global tree. Can reduce grid memory use for heavy Unicode users by around 30%. | |||
2020-05-16 | Add screen write flags instead of individual bits and fix line length | Nicholas Marriott | |
calculation with padding. | |||
2020-05-16 | Store and restore cursor position when copy mode is resized, from | Nicholas Marriott | |
Anindya Mukherjee. | |||
2020-05-16 | Use a grid cell not a style for the pane style. | Nicholas Marriott | |
2020-04-15 | Use grid_empty_line rather than memset when adding new lines on resize. | Nicholas Marriott | |
Also remove some old test code. | |||
2020-04-09 | Some more, and use of wp->window before wp NULL check in format.c. | Nicholas Marriott | |
2020-03-31 | Add a -T flag to resize-pane to trim lines below the cursor, moving | Nicholas Marriott | |
lines out of the history. GitHub issue 2134. | |||
2020-03-21 | AIX colours are always stored as 90-97, not 100-107. From Johannes | Nicholas Marriott | |
Altmanninger. | |||
2020-03-19 | Do not set the history flag if there is no history. | Nicholas Marriott | |
2019-12-03 | Style nits in function arguments. | Nicholas Marriott | |
2019-09-24 | Some minor performance improvements - most notably, don't search the | Nicholas Marriott | |
input state table if the next character matches the same state as before. | |||
2019-08-01 | Remove check for same size - size has already been changed so this | Nicholas Marriott | |
breaks reflow. | |||
2019-07-16 | Fix grid clear code to correctly clear with the default background | Nicholas Marriott | |
colour rather than ending up with the used count higher than the total size, GitHub issue 1829. | |||
2019-07-06 | Correctly clear underscore colour in grid_get_cell1, also fix struct | Nicholas Marriott | |
grid_cell to avoid padding. Fixes increased memory use reported by Suraj N Kurapati. | |||
2019-06-27 | Add support for underscore colours with Setulc capability, mostly from | Nicholas Marriott | |
Kai Moschcau. | |||
2019-05-26 | Add formats for word and line under the mouse and use them to add some | Nicholas Marriott | |
items to the pane menu. | |||
2019-05-13 | Add support for overline (SGR 53), from Ricardo Banffy. | Nicholas Marriott | |
2019-04-02 | Store and restore cursor across reflow by working out a position based | Nicholas Marriott | |
on unwrapped lines, rather than a grid offset. Fixes problems reported by Thomas Sattler and Paul de Weerd. | |||
2019-04-01 | Restore a check to stop scrolled lines becoming larger than total lines, | Nicholas Marriott | |
fixes a crash reported by Thomas Sattler. | |||
2019-03-20 | Improve cursor positioning after reflow by storing the position as an | Nicholas Marriott | |
offset into the entire history before reflow and restoring it aftewards. | |||
2019-03-18 | Mode init needs to be fired with the mode on the list or it will not be | Nicholas Marriott | |
resized correctly. | |||
2019-03-12 | Set a flag on cells are genuinely empty (cleared and never written to) | Nicholas Marriott | |
and use tty_clear_line (which will choose the best escape sequence) to clear any batches of cells with that flag when redrawing a line from the stored screen. | |||
2018-10-25 | Add a "terminal" colour which can be used instead of "default" in style | Nicholas Marriott | |
options for the terminal default colour, bypassing any inheritance from other options. Prompted by a discussion with abieber@. | |||
2018-10-18 | Support for extended underline styles on terminals which offer them, | Nicholas Marriott | |
enabled by adding the Smulx capability with terminal-overrides (add something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492. | |||
2018-07-11 | Helper function to shorten history. | Nicholas Marriott | |
2018-07-11 | Add function comments. | Nicholas Marriott | |
2018-07-04 | Add accessors for grid linedata member, for some future work. From Dan | Nicholas Marriott | |
Aloni. | |||
2018-06-11 | Fix some compiler warnings; from Thomas Adam. | Nicholas Marriott | |
2018-06-03 | Increment the lines counter when skipping a line to avoid an infinite | Nicholas Marriott | |
loop, and fix a check to avoid a potential out-of-bounds access. Problem reported by Yuxiang Qin and tracked down by Karl Beldan; GitHub issue 1352. Also a man page fix request by jmc@. | |||
2018-04-18 | Include source function name in grid_check_y logging. | Nicholas Marriott | |