OpenBSD CVS

CVS log for src/usr.bin/tmux/grid.c


[BACK] Up to [local] / src / usr.bin / tmux

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.130 / (download) - annotate - [select for diffs], Thu Jul 13 06:03:48 2023 UTC (10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.129: +6 -6 lines
Diff to previous 1.129 (colored)

Use 8 for underscore colour defaults instead of 0 which is less
confusing, and fix writing tge default colour. GitHub issue 3627.

Revision 1.129 / (download) - annotate - [select for diffs], Fri Jun 30 21:55:08 2023 UTC (10 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.128: +3 -2 lines
Diff to previous 1.128 (colored)

Change a few types to fix warnings, from Thomas Klausner.

Revision 1.128 / (download) - annotate - [select for diffs], Mon May 8 10:03:39 2023 UTC (12 months, 1 week ago) by tb
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored)

Reorder struct grid_cell_entry

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

Revision 1.127 / (download) - annotate - [select for diffs], Wed Sep 28 07:55:29 2022 UTC (19 months, 3 weeks ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.126: +49 -39 lines
Diff to previous 1.126 (colored)

Add a -T flag to capture-pane to stop at the last used cell instead of
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.

Revision 1.126 / (download) - annotate - [select for diffs], Wed Jul 6 07:36:36 2022 UTC (22 months, 1 week ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.125: +64 -10 lines
Diff to previous 1.125 (colored)

Support hyperlinks with capture-pane -e and add a mouse_hyperlink
format, GitHub issue 3247 from Jeff Chiang.

Revision 1.125 / (download) - annotate - [select for diffs], Thu Jun 30 09:55:53 2022 UTC (22 months, 2 weeks ago) by nicm
Branch: MAIN
Changes since 1.124: +11 -4 lines
Diff to previous 1.124 (colored)

Add support for OSC 8 hyperlinks (a VTE extension now supported by other
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.

Revision 1.124 / (download) - annotate - [select for diffs], Tue Jun 21 09:30:01 2022 UTC (22 months, 4 weeks ago) by nicm
Branch: MAIN
Changes since 1.123: +3 -1 lines
Diff to previous 1.123 (colored)

Store time lines are scrolled into history and display in copy mode.

Revision 1.123 / (download) - annotate - [select for diffs], Wed Mar 30 07:05:26 2022 UTC (2 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

Capture up to used size not available size for each line.

Revision 1.122 / (download) - annotate - [select for diffs], Tue Dec 21 14:57:28 2021 UTC (2 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.121: +64 -34 lines
Diff to previous 1.121 (colored)

Support underscore style with capture-pane -e, GitHub issue 2928.

Revision 1.121 / (download) - annotate - [select for diffs], Fri Feb 5 12:29:18 2021 UTC (3 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored)

Send Unicode directional isolate characters around horizontal pane
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.

Revision 1.120 / (download) - annotate - [select for diffs], Mon Jan 18 10:27:54 2021 UTC (3 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.119: +1 -2 lines
Diff to previous 1.119 (colored)

There is no need to clear every line entirely before drawing to it, this
means moving the cursor and messes up wrapping. Better to just clear the
sections that aren't written over. GitHub issue 2537.

Revision 1.119 / (download) - annotate - [select for diffs], Fri Aug 7 07:02:57 2020 UTC (3 years, 9 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.118: +10 -13 lines
Diff to previous 1.118 (colored)

Do not force line width to grid width because it may need to be larger
to accomodate a wide character. GitHub issue 2336.

Revision 1.118 / (download) - annotate - [select for diffs], Fri Jun 5 09:35:41 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.117: +5 -2 lines
Diff to previous 1.117 (colored)

Do not take the address of a potentially unaligned member.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Jun 4 21:41:31 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.116: +8 -1 lines
Diff to previous 1.116 (colored)

Reset wrapped flag when clearing or moving lines, GitHub issue 2215.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Jun 2 20:51:46 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.115: +18 -3 lines
Diff to previous 1.115 (colored)

Move the code to set up a padding cell into grid.c.

Revision 1.115 / (download) - annotate - [select for diffs], Tue Jun 2 20:10:23 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored)

Allow UTF-8 characters of width 0 to be stored, it is useful to be able
to put padding cells in as width 0.

Revision 1.114 / (download) - annotate - [select for diffs], Wed May 27 06:23:23 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.113: +1 -2 lines
Diff to previous 1.113 (colored)

Make padding cell a valid character.

Revision 1.113 / (download) - annotate - [select for diffs], Tue May 26 08:56:48 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.112: +1 -2 lines
Diff to previous 1.112 (colored)

Remove leftover debug logging and fix comparison.

Revision 1.112 / (download) - annotate - [select for diffs], Mon May 25 18:57:24 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.111: +4 -2 lines
Diff to previous 1.111 (colored)

Use the internal representation for UTF-8 keys instead of wchar_t and
drop some code only needed for that.

Revision 1.111 / (download) - annotate - [select for diffs], Mon May 25 18:19:29 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.110: +4 -4 lines
Diff to previous 1.110 (colored)

Tidy up new UTF-8 code and make it more generic.

Revision 1.110 / (download) - annotate - [select for diffs], Mon May 25 09:32:10 2020 UTC (3 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.109: +31 -22 lines
Diff to previous 1.109 (colored)

Instead of storing all UTF-8 characters in the extended cell which means
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%.

Revision 1.109 / (download) - annotate - [select for diffs], Sat May 16 16:22:01 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.108: +4 -2 lines
Diff to previous 1.108 (colored)

Add screen write flags instead of individual bits and fix line length
calculation with padding.

Revision 1.108 / (download) - annotate - [select for diffs], Sat May 16 15:49:20 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

Store and restore cursor position when copy mode is resized, from
Anindya Mukherjee.

Revision 1.107 / (download) - annotate - [select for diffs], Sat May 16 14:53:23 2020 UTC (4 years ago) by nicm
Branch: MAIN
Changes since 1.106: +17 -8 lines
Diff to previous 1.106 (colored)

Use a grid cell not a style for the pane style.

Revision 1.106 / (download) - annotate - [select for diffs], Wed Apr 15 12:59:20 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.105: +2 -4 lines
Diff to previous 1.105 (colored)

Use grid_empty_line rather than memset when adding new lines on resize.
Also remove some old test code.

Revision 1.105 / (download) - annotate - [select for diffs], Thu Apr 9 13:53:50 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.104: +3 -7 lines
Diff to previous 1.104 (colored)

Some more, and use of wp->window before wp NULL check in format.c.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Mar 31 17:13:20 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.103: +14 -1 lines
Diff to previous 1.103 (colored)

Add a -T flag to resize-pane to trim lines below the cursor, moving
lines out of the history. GitHub issue 2134.

Revision 1.103 / (download) - annotate - [select for diffs], Sat Mar 21 13:51:30 2020 UTC (4 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.102: +10 -10 lines
Diff to previous 1.102 (colored)

AIX colours are always stored as 90-97, not 100-107. From Johannes
Altmanninger.

Revision 1.102 / (download) - annotate - [select for diffs], Thu Mar 19 13:46:10 2020 UTC (4 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.101: +5 -2 lines
Diff to previous 1.101 (colored)

Do not set the history flag if there is no history.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Dec 3 10:47:22 2019 UTC (4 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored)

Style nits in function arguments.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Sep 24 20:44:58 2019 UTC (4 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.99: +14 -12 lines
Diff to previous 1.99 (colored)

Some minor performance improvements - most notably, don't search the
input state table if the next character matches the same state as before.

Revision 1.99 / (download) - annotate - [select for diffs], Thu Aug 1 07:08:13 2019 UTC (4 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.98: +1 -5 lines
Diff to previous 1.98 (colored)

Remove check for same size - size has already been changed so this
breaks reflow.

Revision 1.98 / (download) - annotate - [select for diffs], Tue Jul 16 10:30:56 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.97: +19 -11 lines
Diff to previous 1.97 (colored)

Fix grid clear code to correctly clear with the default background
colour rather than ending up with the used count higher than the total
size, GitHub issue 1829.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Jul 6 20:37:29 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.96: +4 -3 lines
Diff to previous 1.96 (colored)

Correctly clear underscore colour in grid_get_cell1, also fix struct
grid_cell to avoid padding. Fixes increased memory use reported by Suraj
N Kurapati.

Revision 1.96 / (download) - annotate - [select for diffs], Thu Jun 27 15:17:41 2019 UTC (4 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.95: +5 -3 lines
Diff to previous 1.95 (colored)

Add support for underscore colours with Setulc capability, mostly from
Kai Moschcau.

Revision 1.95 / (download) - annotate - [select for diffs], Sun May 26 17:34:45 2019 UTC (4 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.94: +20 -1 lines
Diff to previous 1.94 (colored)

Add formats for word and line under the mouse and use them to add some
items to the pane menu.

Revision 1.94 / (download) - annotate - [select for diffs], Mon May 13 20:10:23 2019 UTC (5 years ago) by nicm
Branch: MAIN
Changes since 1.93: +2 -1 lines
Diff to previous 1.93 (colored)

Add support for overline (SGR 53), from Ricardo Banffy.

Revision 1.93 / (download) - annotate - [select for diffs], Tue Apr 2 08:45:32 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.92: +46 -25 lines
Diff to previous 1.92 (colored)

Store and restore cursor across reflow by working out a position based
on unwrapped lines, rather than a grid offset. Fixes problems reported
by Thomas Sattler and Paul de Weerd.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Apr 1 19:33:38 2019 UTC (5 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.91: +3 -1 lines
Diff to previous 1.91 (colored)

Restore a check to stop scrolled lines becoming larger than total lines,
fixes a crash reported by Thomas Sattler.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Mar 20 19:19:11 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.90: +46 -37 lines
Diff to previous 1.90 (colored)

Improve cursor positioning after reflow by storing the position as an
offset into the entire history before reflow and restoring it aftewards.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Mar 18 15:25:36 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.89: +4 -5 lines
Diff to previous 1.89 (colored)

Mode init needs to be fired with the mode on the list or it will not be
resized correctly.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Mar 12 23:21:45 2019 UTC (5 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.88: +50 -30 lines
Diff to previous 1.88 (colored)

Set a flag on cells are genuinely empty (cleared and never written to)
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.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Oct 25 15:13:38 2018 UTC (5 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.87: +10 -8 lines
Diff to previous 1.87 (colored)

Add a "terminal" colour which can be used instead of "default" in style
options for the terminal default colour, bypassing any inheritance from
other options. Prompted by a discussion with abieber@.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Oct 18 07:57:57 2018 UTC (5 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.86: +13 -5 lines
Diff to previous 1.86 (colored)

Support for extended underline styles on terminals which offer them,
enabled by adding the Smulx capability with terminal-overrides (add
something like ',vte*:Smulx=\E[4\:%p1%dm'). GitHub issue 1492.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Jul 11 06:51:39 2018 UTC (5 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.85: +12 -7 lines
Diff to previous 1.85 (colored)

Helper function to shorten history.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Jul 11 06:43:45 2018 UTC (5 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.84: +3 -1 lines
Diff to previous 1.84 (colored)

Add function comments.

Revision 1.84 / (download) - annotate - [select for diffs], Wed Jul 4 09:44:07 2018 UTC (5 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.83: +13 -1 lines
Diff to previous 1.83 (colored)

Add accessors for grid linedata member, for some future work. From Dan
Aloni.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Jun 11 11:14:10 2018 UTC (5 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

Fix some compiler warnings; from Thomas Adam.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Jun 3 10:17:30 2018 UTC (5 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.81: +3 -2 lines
Diff to previous 1.81 (colored)

Increment the lines counter when skipping a line to avoid an infinite
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@.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Apr 18 14:31:42 2018 UTC (6 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.80: +17 -16 lines
Diff to previous 1.80 (colored)

Include source function name in grid_check_y logging.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Feb 16 09:51:41 2018 UTC (6 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.79: +130 -70 lines
Diff to previous 1.79 (colored)

Reflowing the grid in-place involved way too much memmove() for a big
performance cost with a large history. Instead change back to using a
second grid and copying modified lines over which is much faster (this
doesn't revert to the old code however which didn't support UTF-8
properly). GitHub issue 1249.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Nov 15 19:21:24 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.78: +251 -158 lines
Diff to previous 1.78 (colored)

Completely rewrite the reflow code to correctly handle double width
characters (previously they were not accounted for).

Revision 1.78 / (download) - annotate - [select for diffs], Fri Nov 3 17:02:33 2017 UTC (6 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored)

Support mouse on preview in tree mode.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Sep 11 06:40:46 2017 UTC (6 years, 8 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.76: +4 -2 lines
Diff to previous 1.76 (colored)

Do not free more lines than are available in the history.

Revision 1.76 / (download) - annotate - [select for diffs], Sun Sep 10 14:36:12 2017 UTC (6 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.75: +44 -1 lines
Diff to previous 1.75 (colored)

Previously, extended cell data was never reduced in size even when the
cell was overwritten. With a large history this can be a substantial
amount of memory. To reduce this, compact each extended cell list to
only cells in use as it is scrolled off the visible screen into the
history. From Dan Aloni in GitHub issue 1062.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Aug 30 18:13:47 2017 UTC (6 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.74: +49 -29 lines
Diff to previous 1.74 (colored)

Instead of overloading the line clear function to mean free if
background is default (8), introduce an explicit free function and use
it where a free alone is needed. Likewise, use memmove directly rather
than grid_move_lines where it makes sense. Based on a memory leak fix by
Dan Aloni in GitHub issue 1051.

Revision 1.74 / (download) - annotate - [select for diffs], Tue May 16 12:57:26 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.73: +2 -3 lines
Diff to previous 1.73 (colored)

Line length and spaces to tabs.

Revision 1.73 / (download) - annotate - [select for diffs], Sat May 13 07:30:50 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.72: +2 -3 lines
Diff to previous 1.72 (colored)

Some other unused variables.

Revision 1.72 / (download) - annotate - [select for diffs], Fri May 12 15:18:13 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

When expanding a line in order to clear it, we need to use the default
background colour - there may be portions that we do not want to clear
with the new background colour.

Revision 1.71 / (download) - annotate - [select for diffs], Fri May 12 13:00:56 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Scrolling needs to use background colour.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Apr 25 18:20:51 2017 UTC (7 years ago) by nicm
Branch: MAIN
Changes since 1.69: +44 -21 lines
Diff to previous 1.69 (colored)

When we write out the grid including escape sequences, an SGR 0 needs to
cause the colours to be written again. Also treat colours separately
from attributes so that RGB colours will work.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Apr 19 12:44:29 2017 UTC (7 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Style nits and a missing cast.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Mar 22 07:16:54 2017 UTC (7 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.67: +5 -2 lines
Diff to previous 1.67 (colored)

Add support for the strikethrough attribute (SGR 9), using the new smxx
terminfo capability. This means there are now nine attribute bits, so
anything above 0xff uses an extended cell.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Mar 7 13:47:56 2017 UTC (7 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.66: +3 -1 lines
Diff to previous 1.66 (colored)

If moving cells outside the current used count, update it.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Feb 22 09:01:32 2017 UTC (7 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

Minor bits: fix an array size, add comment, make grid_cell_entry static.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Feb 13 16:05:30 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.64: +18 -13 lines
Diff to previous 1.64 (colored)

Collected cells may still need to be extended for RGB colours.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Feb 8 16:45:18 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.63: +31 -1 lines
Diff to previous 1.63 (colored)

Collect sequences of printable ASCII characters and process them
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).

Revision 1.63 / (download) - annotate - [select for diffs], Wed Feb 8 15:41:41 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.62: +24 -16 lines
Diff to previous 1.62 (colored)

Add a helper to store a cell, and some tidying.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Feb 8 08:26:35 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.61: +7 -6 lines
Diff to previous 1.61 (colored)

Tweak how much we expand lines by.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Feb 3 20:53:03 2017 UTC (7 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.60: +7 -1 lines
Diff to previous 1.60 (colored)

Expand lines more aggressively to reduce rate of allocations.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Oct 18 19:52:49 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Clear cell entry with grid_default_entry not grid_default_cell.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Oct 18 14:56:17 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.58: +41 -19 lines
Diff to previous 1.58 (colored)

Make grid_clear_cell set up the entry properly for 256 and RGB cells.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Oct 13 20:27:27 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.57: +61 -47 lines
Diff to previous 1.57 (colored)

Add support for BCE (background colour erase). This makes various escape
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.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Oct 11 13:21:59 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.56: +5 -2 lines
Diff to previous 1.56 (colored)

Add static in window-*.c and move some internal functions out of tmux.h.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Oct 10 21:29:23 2016 UTC (7 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.55: +19 -18 lines
Diff to previous 1.55 (colored)

Loads more static, except for cmd-*.c and window-*.c.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Sep 2 20:57:20 2016 UTC (7 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.54: +12 -1 lines
Diff to previous 1.54 (colored)

Remember the number of lines scrolled into the history (versus cleared
into the history) and when resizing only use scrolled lines and not
cleared lines (which are probably not intended to reappear). From
Chaoren Lin.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Jul 15 00:49:08 2016 UTC (7 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.53: +20 -5 lines
Diff to previous 1.53 (colored)

Don't update cells in each block of data read from a pane immediately,
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).

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jul 15 00:42:56 2016 UTC (7 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.52: +33 -20 lines
Diff to previous 1.52 (colored)

Instead of representing colours in several different forms with various
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.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jan 31 09:57:09 2016 UTC (8 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.51: +14 -2 lines
Diff to previous 1.51 (colored)

Add RGB escape sequences for capture-pane -e.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jan 29 11:13:56 2016 UTC (8 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.50: +9 -4 lines
Diff to previous 1.50 (colored)

Support for RGB colour, using the extended cell mechanism to avoid
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.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jan 19 15:59:12 2016 UTC (8 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

I no longer use my SourceForge address so replace it.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Nov 22 19:42:57 2015 UTC (8 years, 5 months ago) by nicm
Branch: MAIN
Changes since 1.48: +2 -5 lines
Diff to previous 1.48 (colored)

Don't leak extddata, memset after freeing it, not before. From Patrick
Palka.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Nov 13 08:09:28 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.47: +125 -46 lines
Diff to previous 1.47 (colored)

Long overdue change to the way we store cells in the grid: now, instead
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.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Nov 12 14:50:57 2015 UTC (8 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.46: +1 -5 lines
Diff to previous 1.46 (colored)

grid_put_utf8 is unused, remove it.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Sep 25 15:53:07 2015 UTC (8 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.45: +17 -5 lines
Diff to previous 1.45 (colored)

Free the history when it is cleared, based on a diff from Carlo Cannas.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Sep 2 17:12:07 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.44: +24 -24 lines
Diff to previous 1.44 (colored)

Fix indentation of grid_string_cells_fg.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Aug 24 22:49:13 2015 UTC (8 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored)

In grid_duplicate_lines, if the line is empty (cellsize == 0) then clear
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.

Revision 1.43 / (download) - annotate - [select for diffs], Fri May 8 15:56:49 2015 UTC (9 years ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.42: +11 -20 lines
Diff to previous 1.42 (colored)

Remove some stuff that accidentally ended up here from portable, and
remove a little-used debug function.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Apr 23 07:45:50 2015 UTC (9 years ago) by deraadt
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

use reallocarray instead of calloc; avoid the zero before infill
ok nicm

Revision 1.41 / (download) - annotate - [select for diffs], Wed Oct 8 17:35:58 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.40: +9 -7 lines
Diff to previous 1.40 (colored)

Add xreallocarray and remove nmemb argument from xrealloc.

Revision 1.40 / (download) - annotate - [select for diffs], Wed Oct 8 17:14:04 2014 UTC (9 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.39: +3 -2 lines
Diff to previous 1.39 (colored)

Use xrealloc(NULL, n, m) instead of xmalloc(n * m) to get overflow
check.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Sep 17 15:31:38 2014 UTC (9 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.38: +5 -7 lines
Diff to previous 1.38 (colored)

Fix some comments (c -> colour) and join unnecessary line splits.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Sep 1 21:50:18 2014 UTC (9 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Various minor style and spacing nits.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 16 23:05:38 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Memory leak in error path and unnecessary assignment, from clang.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Mar 31 21:42:27 2014 UTC (10 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.35: +1 -19 lines
Diff to previous 1.35 (colored)

GRID_DEBUG is no longer needed.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Feb 14 13:59:01 2014 UTC (10 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Style nit - no space between function name and bracket.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jan 28 23:07:09 2014 UTC (10 years, 3 months ago) by nicm
Branch: MAIN
Changes since 1.33: +1 -2 lines
Diff to previous 1.33 (colored)

Allow replacing each of the many sets of separate foo-{fg,bg,attr}
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.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 15 11:44:18 2014 UTC (10 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Couple of fixes from cppcheck via Tiago Cunha.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 9 13:58:06 2014 UTC (10 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Style and comment fixes from Tiago Cunha.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 10 12:01:14 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.30: +4 -5 lines
Diff to previous 1.30 (colored)

Trivial style and spacing nits.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 10 11:49:29 2013 UTC (10 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.29: +6 -2 lines
Diff to previous 1.29 (colored)

Only include actual trailing spaces not unused cells with capturep -J,
from George Nachman.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Mar 25 10:07:40 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Allow lastgc to be NULL in grid_string_cells so find-window doesn't
crash, problem reported by eugene everson.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 25 10:05:35 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.27: +6 -4 lines
Diff to previous 1.27 (colored)

Preserve trailing spaces with capture-pane -J, from George Nachman.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Mar 25 10:01:43 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Use \\ not \ for escaping \.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 22 15:56:11 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.25: +44 -14 lines
Diff to previous 1.25 (colored)

Add -C and -J to capture pane to escape control sequences and to join
wrapped line, based on a diff from George Nachman.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Mar 22 15:53:58 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.24: +6 -3 lines
Diff to previous 1.24 (colored)

Clear last attributes after reset in string_cells, from George Nachman.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Mar 22 15:51:54 2013 UTC (11 years, 1 month ago) by nicm
Branch: MAIN
Changes since 1.23: +188 -5 lines
Diff to previous 1.23 (colored)

Add -e flag to capture-pane to include embedded ANSI SGR escape
sequences, from George Nachman.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 21 16:12:10 2013 UTC (11 years, 2 months ago) by nicm
Branch: MAIN
Changes since 1.22: +126 -29 lines
Diff to previous 1.22 (colored)

Rework reflow code so it does not do so much allocation which should be
faster with large histories.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 5 11:08:59 2013 UTC (11 years, 3 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.21: +42 -1 lines
Diff to previous 1.21 (colored)

Automatically reflow wrapped lines when a pane is resized, requested by
many over the years and finally implemented by Richard Woodbury.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jan 18 02:16:21 2013 UTC (11 years, 4 months ago) by nicm
Branch: MAIN
Changes since 1.20: +12 -93 lines
Diff to previous 1.20 (colored)

Rather than having two grids for each pane, one for ASCII and one for
UTF-8, collapse the two together. Simplifies the code at the expense of
more memory (which can probably be reduced again later).

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 10 11:53:01 2012 UTC (11 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.19: +8 -11 lines
Diff to previous 1.19 (colored)

xfree is not particularly helpful, remove it. From Thomas Adam.

Revision 1.19 / (download) - annotate - [select for diffs], Wed May 23 19:19:40 2012 UTC (11 years, 11 months ago) by nicm
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Use a predefined structure for not-space cells used to set attributes.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Apr 6 21:35:44 2010 UTC (14 years, 1 month ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.17: +1 -42 lines
Diff to previous 1.17 (colored)

Merge copy mode and output mode, dropping the latter. Idea and code from
Micah Cowan.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Dec 3 22:50:10 2009 UTC (14 years, 5 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.16: +14 -14 lines
Diff to previous 1.16 (colored)

Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...

Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 18 17:02:17 2009 UTC (14 years, 6 months ago) by nicm
Branch: MAIN
Changes since 1.15: +8 -10 lines
Diff to previous 1.15 (colored)

Cleanup by moving various (mostly horrible) little bits handling UTF-8 grid
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.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 13 15:38:37 2009 UTC (14 years, 7 months ago) by nicm
Branch: MAIN
Changes since 1.14: +60 -12 lines
Diff to previous 1.14 (colored)

Move lines into the history when scrolling even if the scroll region is not
the entire screen.

Allows ircII users to see history, prompted by naddy.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 15 15:14:09 2009 UTC (14 years, 8 months ago) by nicm
Branch: MAIN
Changes since 1.13: +11 -15 lines
Diff to previous 1.13 (colored)

Stick line length to what is actually used (removing an optimization that
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@.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Aug 21 07:29:37 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.12: +9 -6 lines
Diff to previous 1.12 (colored)

Fix grid_expand_line so it actually works when the required size is bigger than
2 * the current size.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Aug 20 19:14:42 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.11: +5 -1 lines
Diff to previous 1.11 (colored)

A few trivial optimisations: no need to check for zero size if calling
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.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 10 17:59:59 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Use the right source and destination lines in grid_duplicate_lines.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Aug 8 13:29:27 2009 UTC (14 years, 9 months ago) by nicm
Branch: MAIN
Changes since 1.9: +81 -95 lines
Diff to previous 1.9 (colored)

Change the way the grid is stored, previously it was:

- 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.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 21 18:40:30 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.8: +1 -15 lines
Diff to previous 1.8 (colored)

Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found by
lint.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jul 16 07:34:37 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Typo in grid_duplicate_lines (sy for dy) causing it to write into the wrong
place when copying UTF-8 data. Found by Dan Colish.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 13 10:43:52 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.6: +47 -1 lines
Diff to previous 1.6 (colored)

Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full
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.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jul 11 20:11:18 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Limit the history to hlimit not hlimit - 1. This makes a history-limit setting
of 0 work as expected.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 25 06:15:04 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.4: +1 -26 lines
Diff to previous 1.4 (colored)

Miscellaneous unused functions, including one which was basically a
duplicate. Found by lint.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 24 22:49:56 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.3: +10 -7 lines
Diff to previous 1.3 (colored)

Change find-window and monitor-content to use fnmatch(3). For convenience and
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.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 24 22:04:18 2009 UTC (14 years, 10 months ago) by nicm
Branch: MAIN
Changes since 1.2: +47 -1 lines
Diff to previous 1.2 (colored)

Add a dedicated function to convert a line into a string and use it to simplify the search window function.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jun 5 03:13:16 2009 UTC (14 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

Remove trailing newlines, spaces, and tabs.

No binary change.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 1 22:58:49 2009 UTC (14 years, 11 months ago) by nicm
Branch: MAIN

Import tmux, a terminal multiplexor allowing (among other things) a single
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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.