summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/grid.c
AgeCommit message (Expand)Author
2016-09-02Remember the number of lines scrolled into the history (versus clearedNicholas Marriott
2016-07-15Don't update cells in each block of data read from a pane immediately,Nicholas Marriott
2016-07-15Instead of representing colours in several different forms with variousNicholas Marriott
2016-01-31Add RGB escape sequences for capture-pane -e.Nicholas Marriott
2016-01-29Support for RGB colour, using the extended cell mechanism to avoidNicholas Marriott
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2015-11-22Don't leak extddata, memset after freeing it, not before. From PatrickNicholas Marriott
2015-11-13Long overdue change to the way we store cells in the grid: now, insteadNicholas Marriott
2015-11-12grid_put_utf8 is unused, remove it.Nicholas Marriott
2015-09-25Free the history when it is cleared, based on a diff from Carlo Cannas.Nicholas Marriott
2015-09-02Fix indentation of grid_string_cells_fg.Nicholas Marriott
2015-08-24In grid_duplicate_lines, if the line is empty (cellsize == 0) then clearNicholas Marriott
2015-05-08Remove some stuff that accidentally ended up here from portable, andNicholas Marriott
2015-04-23use reallocarray instead of calloc; avoid the zero before infillTheo de Raadt
2014-10-08Add xreallocarray and remove nmemb argument from xrealloc.Nicholas Marriott
2014-10-08Use xrealloc(NULL, n, m) instead of xmalloc(n * m) to get overflowNicholas Marriott
2014-09-17Fix some comments (c -> colour) and join unnecessary line splits.Nicholas Marriott
2014-09-01Various minor style and spacing nits.Nicholas Marriott
2014-04-16Memory leak in error path and unnecessary assignment, from clang.Nicholas Marriott
2014-03-31GRID_DEBUG is no longer needed.Nicholas Marriott
2014-02-14Style nit - no space between function name and bracket.Nicholas Marriott
2014-01-28Allow replacing each of the many sets of separate foo-{fg,bg,attr}Nicholas Marriott
2014-01-15Couple of fixes from cppcheck via Tiago Cunha.Nicholas Marriott
2014-01-09Style and comment fixes from Tiago Cunha.Nicholas Marriott
2013-10-10Trivial style and spacing nits.Nicholas Marriott
2013-10-10Only include actual trailing spaces not unused cells with capturep -J,Nicholas Marriott
2013-03-25Allow lastgc to be NULL in grid_string_cells so find-window doesn'tNicholas Marriott
2013-03-25Preserve trailing spaces with capture-pane -J, from George Nachman.Nicholas Marriott
2013-03-25Use \\ not \ for escaping \.Nicholas Marriott
2013-03-22Add -C and -J to capture pane to escape control sequences and to joinNicholas Marriott
2013-03-22Clear last attributes after reset in string_cells, from George Nachman.Nicholas Marriott
2013-03-22Add -e flag to capture-pane to include embedded ANSI SGR escapeNicholas Marriott
2013-03-21Rework reflow code so it does not do so much allocation which should beNicholas Marriott
2013-02-05Automatically reflow wrapped lines when a pane is resized, requested byNicholas Marriott
2013-01-18Rather than having two grids for each pane, one for ASCII and one forNicholas Marriott
2012-07-10xfree is not particularly helpful, remove it. From Thomas Adam.Nicholas Marriott
2012-05-23Use a predefined structure for not-space cells used to set attributes.Nicholas Marriott
2010-04-06Merge copy mode and output mode, dropping the latter. Idea and code fromNicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
2009-11-18Cleanup by moving various (mostly horrible) little bits handling UTF-8 gridNicholas Marriott
2009-10-13Move lines into the history when scrolling even if the scroll region is notNicholas Marriott
2009-09-15Stick line length to what is actually used (removing an optimization thatNicholas Marriott
2009-08-21Fix grid_expand_line so it actually works when the required size is bigger thanNicholas Marriott
2009-08-20A few trivial optimisations: no need to check for zero size if callingNicholas Marriott
2009-08-10Use the right source and destination lines in grid_duplicate_lines.Nicholas Marriott
2009-08-08Change the way the grid is stored, previously it was:Nicholas Marriott
2009-07-21Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found byNicholas Marriott
2009-07-16Typo in grid_duplicate_lines (sy for dy) causing it to write into the wrongNicholas Marriott
2009-07-13Support "alternate screen" mode (terminfo smcup/rmcup) typically used by fullNicholas Marriott
2009-07-11Limit the history to hlimit not hlimit - 1. This makes a history-limit settingNicholas Marriott