<feed xmlns='http://www.w3.org/2005/Atom'>
<title>r-alacritty.git/src/grid, branch rahm</title>
<subtitle>My custom-patched version of alacritty.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/'/>
<entry>
<title>Split alacritty into a separate crates</title>
<updated>2019-04-28T13:24:58+00:00</updated>
<author>
<name>Theodore Dubois</name>
<email>tblodt@icloud.com</email>
</author>
<published>2019-04-28T13:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=dbd8538762ef8968a493e1bf996e8693479ca783'/>
<id>dbd8538762ef8968a493e1bf996e8693479ca783</id>
<content type='text'>
The crate containing the entry point is called alacritty, and the crate
containing everything else is called alacritty_terminal.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The crate containing the entry point is called alacritty, and the crate
containing everything else is called alacritty_terminal.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant closures and imports</title>
<updated>2019-04-11T07:54:26+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2019-04-11T07:54:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=3478676f8f7ec6817b1e17d09926fc35a507977a'/>
<id>3478676f8f7ec6817b1e17d09926fc35a507977a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add rustfmt style guide</title>
<updated>2019-03-30T16:48:36+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-03-30T16:48:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=cfd025b5289bc305470a96657868c982a2b13bc2'/>
<id>cfd025b5289bc305470a96657868c982a2b13bc2</id>
<content type='text'>

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

</pre>
</div>
</content>
</entry>
<entry>
<title>Rework URL highlighting</title>
<updated>2019-03-30T09:23:48+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-03-30T09:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=91aa683bcd060b2ac2f621a388a6448f564d0537'/>
<id>91aa683bcd060b2ac2f621a388a6448f564d0537</id>
<content type='text'>
This completely reworks URL highlighting to fix two issues which were
caused by the original approach.

The primary issues that were not straight-forward to resolve with the
previous implementation were about handling the URL highlighted content
moving while the highlight is active.

This lead to issues with highlighting with scrolling and when the
display offset was not 0.

The new approach sticks closely to prior art done for the selection,
where the selection is tracked on the grid and updated whenever the
buffer is rotated.

The truncation of URLs was incorrectly assuming input to be just a
single codepoint wide to truncate the end of URLs with unmatching
closing parenthesis. This is now handled properly using Rust's built-in
Unicode support.

This fixes #2231.
This fixes #2225.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This completely reworks URL highlighting to fix two issues which were
caused by the original approach.

The primary issues that were not straight-forward to resolve with the
previous implementation were about handling the URL highlighted content
moving while the highlight is active.

This lead to issues with highlighting with scrolling and when the
display offset was not 0.

The new approach sticks closely to prior art done for the selection,
where the selection is tracked on the grid and updated whenever the
buffer is rotated.

The truncation of URLs was incorrectly assuming input to be just a
single codepoint wide to truncate the end of URLs with unmatching
closing parenthesis. This is now handled properly using Rust's built-in
Unicode support.

This fixes #2231.
This fixes #2225.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix prompt jumping during reflow</title>
<updated>2019-03-28T14:35:01+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-03-28T14:35:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=8654a09f73c1fc63dae8f7ba7ab91999498852c2'/>
<id>8654a09f73c1fc63dae8f7ba7ab91999498852c2</id>
<content type='text'>
If the window is resized while lines are longer than the visible area,
Alacritty will no longer move down the prompt and pull from history when
possible but instead keep the prompt in place and move the additional
lines into the scrollback buffer.

This fixes #2213.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the window is resized while lines are longer than the visible area,
Alacritty will no longer move down the prompt and pull from history when
possible but instead keep the prompt in place and move the additional
lines into the scrollback buffer.

This fixes #2213.</pre>
</div>
</content>
</entry>
<entry>
<title>Add URL hover highlighting</title>
<updated>2019-03-19T19:14:17+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-03-19T19:14:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=a672f7d553ac17d5aaef8dc667dee31d5815677d'/>
<id>a672f7d553ac17d5aaef8dc667dee31d5815677d</id>
<content type='text'>
This changes the cursor whenever it moves to a cell which contains
part of a URL.

When a URL is hovered over, all characters that are recognized as part
of the URL will be underlined and the mouse cursor shape will be
changed. After the cursor leaves the URL, the previous hover state is
restored.

This also changes the behavior when clicking an illegal character right
in front of a URL. Previously this would still launch the URL, but strip
the illegal character. Now these clicks are ignored to make sure there's
no mismatch between underline and legal URL click positions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the cursor whenever it moves to a cell which contains
part of a URL.

When a URL is hovered over, all characters that are recognized as part
of the URL will be underlined and the mouse cursor shape will be
changed. After the cursor leaves the URL, the previous hover state is
restored.

This also changes the behavior when clicking an illegal character right
in front of a URL. Previously this would still launch the URL, but strip
the illegal character. Now these clicks are ignored to make sure there's
no mismatch between underline and legal URL click positions
</pre>
</div>
</content>
</entry>
<entry>
<title>Add text reflow</title>
<updated>2019-03-13T18:55:18+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-03-13T18:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=b1032bcc6b79135f87f327548e43563da05657fb'/>
<id>b1032bcc6b79135f87f327548e43563da05657fb</id>
<content type='text'>
Alacritty will now automatically reflow lines and shrink them when they
would usually exceed the new width of the terminal instead of
truncation.

If a line had to be truncated, it will also be reflown into the previous
line after growing the terminal width.

The reflow behavior when not at the bottom of the history is similar to
that of VTE and aims to keep the viewport stationary whenever possible.

Opposed to VTE, reflow will also be performed in the alternate screen
buffer.

There will be bugs when resizing the terminal emulator to a size smaller
than the prompt, though these issues were present in all terminal
emulators with reflow support.

This fixes #591.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Alacritty will now automatically reflow lines and shrink them when they
would usually exceed the new width of the terminal instead of
truncation.

If a line had to be truncated, it will also be reflown into the previous
line after growing the terminal width.

The reflow behavior when not at the bottom of the history is similar to
that of VTE and aims to keep the viewport stationary whenever possible.

Opposed to VTE, reflow will also be performed in the alternate screen
buffer.

There will be bugs when resizing the terminal emulator to a size smaller
than the prompt, though these issues were present in all terminal
emulators with reflow support.

This fixes #591.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix alt screen bugs</title>
<updated>2019-03-02T21:30:29+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-03-02T21:30:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=de52ddb6c25a6d58cdfaa095ad6ec9abffa6564a'/>
<id>de52ddb6c25a6d58cdfaa095ad6ec9abffa6564a</id>
<content type='text'>
This fixes two bugs with the alternate screen buffer.

When resetting while in the alt screen, Alacritty would not swap out
the grids leading to scrollback getting disabled. By swapping out the
grids again when resetting in the alternate screen buffer, scrollback is
now unaffected from a reset.

There was another issue with the cursor jumping around when leaving the
alt screen even though it was not active, this was fixed by skipping all
alt screen swap routines unless the current state matches the expected
state.

This fixes #2145.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes two bugs with the alternate screen buffer.

When resetting while in the alt screen, Alacritty would not swap out
the grids leading to scrollback getting disabled. By swapping out the
grids again when resetting in the alternate screen buffer, scrollback is
now unaffected from a reset.

There was another issue with the cursor jumping around when leaving the
alt screen even though it was not active, this was fixed by skipping all
alt screen swap routines unless the current state matches the expected
state.

This fixes #2145.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix scrollback live reloading</title>
<updated>2019-03-02T18:32:48+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-03-02T18:32:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=3c4bb7c11518e1ced9feeb156436d55fe1d4a66b'/>
<id>3c4bb7c11518e1ced9feeb156436d55fe1d4a66b</id>
<content type='text'>
This fixes two issues with live reloading the `scrolling.history`
property.

It is now possible to increase the scrollback history without restarting
Alacritty.

When decreasing the scrollback history while scrolled beyond the new
history limit, Alacritty will reset the viewport position to the new
limit instead of crashing.

This fixes #2147.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes two issues with live reloading the `scrolling.history`
property.

It is now possible to increase the scrollback history without restarting
Alacritty.

When decreasing the scrollback history while scrolled beyond the new
history limit, Alacritty will reset the viewport position to the new
limit instead of crashing.

This fixes #2147.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix unclickable URLs with scrolled viewport</title>
<updated>2019-02-07T00:55:18+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>chrisduerr@users.noreply.github.com</email>
</author>
<published>2019-02-07T00:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=e561ae373393e919cf3dbbf123a98e0aad215dbc'/>
<id>e561ae373393e919cf3dbbf123a98e0aad215dbc</id>
<content type='text'>
Since scrolling the terminal moves around the underlying data structure
of the terminal, the URL selection would search for the URL at the
position where the click would have been without any scrolling.

By adding the viewport offset to the click position, the URL clicking
now searches at the correct location.

This fixes https://github.com/jwilm/alacritty/issues/2076.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since scrolling the terminal moves around the underlying data structure
of the terminal, the URL selection would search for the URL at the
position where the click would have been without any scrolling.

By adding the viewport offset to the click position, the URL clicking
now searches at the correct location.

This fixes https://github.com/jwilm/alacritty/issues/2076.
</pre>
</div>
</content>
</entry>
</feed>
