| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
into the history) and when resizing only use scrolled lines and not
cleared lines (which are probably not intended to reappear). From
Chaoren Lin.
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
| |
wasting unnecessary space. The 'Tc' flag must be set in the external
TERM entry (using terminal-overrides or a custom terminfo entry), if not
tmux will map to the closest of the 256 or 16 colour palettes.
Mostly from Suraj N Kurapati, based on a diff originally by someone else.
|
| |
|
|
|
|
| |
Palka.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of storing a full grid_cell with UTF-8 data and everything, store a new
type grid_cell_entry. This can either be the cell itself (for ASCII
cells), or an offset into an extended array (per line) for UTF-8
data.
This avoid a large (8 byte) overhead on non-UTF-8 cells (by far the
majority for most users) without the complexity of the shadow array we
had before. Grid memory without any UTF-8 is about half.
The disadvantage that cells can no longer be modified in place and need
to be copied out of the grid and back but it turned out to be lot less
complicated than I expected.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
the destination celldata pointer rather than leaving a stale copy of the
source pointer (which may later be freed). Fixes a crash found by
Kuang-che Wu.
|
|
|
|
| |
remove a little-used debug function.
|
|
|
|
| |
ok nicm
|
| |
|
|
|
|
| |
check.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
options with a single foo-style option. For example:
set -g status-fg yellow
set -g status-bg red
set -g status-attr blink
Becomes:
set -g status-style fg=yellow,bg=red,blink
The -a flag to set can be used to add to rather than replace a style. So:
set -g status-bg red
Becomes:
set -ag status-style bg=red
Currently this is fully backwards compatible (all *-{fg,bg,attr} options
remain) but the plan is to deprecate them over time.
From Tiago Cunha.
|
| |
|
| |
|
| |
|
|
|
|
| |
from George Nachman.
|
|
|
|
| |
crash, problem reported by eugene everson.
|
|
|
|
| |
wrapped line, based on a diff from George Nachman.
|
|
|
|
| |
faster with large histories.
|
|
|
|
| |
many over the years and finally implemented by Richard Woodbury.
|
|
|
|
|
| |
UTF-8, collapse the two together. Simplifies the code at the expense of
more memory (which can probably be reduced again later).
|
| |
|
| |
|
|
|
|
| |
Micah Cowan.
|
|
|
|
|
| |
time now I've configured emacs to make them displayed in really annoying
colours...
|
|
|
|
|
|
|
| |
data into functions in a new file, grid-utf8.c, and use sizeof intead of
UTF8_DATA.
Also nuke trailing whitespace from tmux.1, reminded by jmc.
|
|
|
|
|
|
| |
the entire screen.
Allows ircII users to see history, prompted by naddy.
|
|
|
|
|
|
|
|
| |
allowed it to be bigger), and use clear line/EOL sequences rather than spaces
in copy/scroll mode.
This fixes xterm copy/paste from tmux which treats trailing spaces differently
from clearing a line with the escape sequences. Reported by martynas@.
|
|
|
|
| |
2 * the current size.
|
|
|
|
|
|
| |
buffer_ensure in buffer.c; expand grid lines by a greater increase than one
each time; and don't read UTF-8 data unless it actually needs to be checked
when overwriting a cell.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- a two-dimensional array of cells;
- a two-dimensional array of utf8 data;
- an array of line lengths.
Now it is a single array of a new struct grid_line each of which represents a
line and containts the length and an array of cells and an array of utf8 data.
This will make it easier to add additional per-line members, such as flags.
|
|
|
|
| |
lint.
|
|
|
|
| |
place when copying UTF-8 data. Found by Dan Colish.
|
|
|
|
|
|
|
| |
screen interactive programs to preserve the screen contents. When activated, it
saves a copy of the visible grid and disables scrolling into and resizing out
of the history; when deactivated the visible data is restored and the history
reenabled.
|
|
|
|
| |
of 0 work as expected.
|
|
|
|
| |
duplicate. Found by lint.
|
|
|
|
|
|
|
|
|
| |
compatibility, *s are implicitly added at the start and end of the pattern.
Also display the line number and the entire line in the results, and lose the
nasty section_string function and the now empty util.c file.
Initially from Tiago Cunha.
|
|
|
|
| |
simplify the search window function.
|
|
|
|
| |
No binary change.
|
|
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.
ok deraadt pirofti
|