<feed xmlns='http://www.w3.org/2005/Atom'>
<title>r-alacritty.git/alacritty_terminal/src/tty, branch experimental</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>Unify the grid line indexing types</title>
<updated>2021-03-30T23:25:38+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>contact@christianduerr.com</email>
</author>
<published>2021-03-30T23:25:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=3bd5ac221ab3b122962063edd1f4c10f9f2d117f'/>
<id>3bd5ac221ab3b122962063edd1f4c10f9f2d117f</id>
<content type='text'>
Previously Alacritty was using two different ways to reference lines in
the terminal. Either a `usize`, or a `Line(usize)`. These indexing
systems both served different purposes, but made it difficult to reason
about logic involving these systems because of its inconsistency.

To resolve this issue, a single new `Line(i32)` type has been
introduced.  All existing references to lines and points now rely on
this definition of a line.

The indexing starts at the top of the terminal region with the line 0,
which matches the line 1 used by escape sequences. Each line in the
history becomes increasingly negative and the bottommost line is equal
to the number of visible lines minus one.

Having a system which goes into the negatives allows following the
escape sequence's indexing system closely, while at the same time making
it trivial to implement `Ord` for points.

The Alacritty UI crate is the only place which has a different indexing
system, since rendering and input puts the zero line at the top of the
viewport, rather than the top of the terminal region.

All instances which refer to a number of lines/columns instead of just a
single Line/Column have also been changed to use a `usize` instead. This
way a Line/Column will always refer to a specific place in the grid and
no confusion is created by having a count of lines as a possible index
into the grid storage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously Alacritty was using two different ways to reference lines in
the terminal. Either a `usize`, or a `Line(usize)`. These indexing
systems both served different purposes, but made it difficult to reason
about logic involving these systems because of its inconsistency.

To resolve this issue, a single new `Line(i32)` type has been
introduced.  All existing references to lines and points now rely on
this definition of a line.

The indexing starts at the top of the terminal region with the line 0,
which matches the line 1 used by escape sequences. Each line in the
history becomes increasingly negative and the bottommost line is equal
to the number of visible lines minus one.

Having a system which goes into the negatives allows following the
escape sequence's indexing system closely, while at the same time making
it trivial to implement `Ord` for points.

The Alacritty UI crate is the only place which has a different indexing
system, since rendering and input puts the zero line at the top of the
viewport, rather than the top of the terminal region.

All instances which refer to a number of lines/columns instead of just a
single Line/Column have also been changed to use a `usize` instead. This
way a Line/Column will always refer to a specific place in the grid and
no confusion is created by having a count of lines as a possible index
into the grid storage.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Windows WinPTY backend</title>
<updated>2021-01-01T05:07:39+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>contact@christianduerr.com</email>
</author>
<published>2021-01-01T05:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=8ed72cc065255007a7f0687e3b8a540e8c6202c6'/>
<id>8ed72cc065255007a7f0687e3b8a540e8c6202c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove terminfo dependency</title>
<updated>2020-12-22T02:38:50+00:00</updated>
<author>
<name>Caden Haustein</name>
<email>code@brightlysalty.33mail.com</email>
</author>
<published>2020-12-22T02:38:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=8982000f01d5f476a995385253139b3555e2a5d0'/>
<id>8982000f01d5f476a995385253139b3555e2a5d0</id>
<content type='text'>
Fixes #4597.

Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #4597.

Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for single line terminals</title>
<updated>2020-09-27T22:36:08+00:00</updated>
<author>
<name>ii41</name>
<email>23465321+ii41@users.noreply.github.com</email>
</author>
<published>2020-09-27T22:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=a754d06b44139b85e8b34a71ece4477cb1caa85e'/>
<id>a754d06b44139b85e8b34a71ece4477cb1caa85e</id>
<content type='text'>
This changes the minimum terminal dimensions from 2 lines and 2 columns,
to 1 line and 2 columns.

This also reworks the `SizeInfo` to store the number of columns and
lines and consistently has only the terminal lines/columns stored,
instead of including the message bar and search in some places of the
Alacritty renderer/input.

These new changes also make it easy to properly start the selection
scrolling as soon as the mouse is over the message bar, instead of
waiting until it is beyond it.

Fixes #4207.

Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the minimum terminal dimensions from 2 lines and 2 columns,
to 1 line and 2 columns.

This also reworks the `SizeInfo` to store the number of columns and
lines and consistently has only the terminal lines/columns stored,
instead of including the message bar and search in some places of the
Alacritty renderer/input.

These new changes also make it easy to properly start the selection
scrolling as soon as the mouse is over the message bar, instead of
waiting until it is beyond it.

Fixes #4207.

Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Disable WinPTY with windows-gnu toolchain</title>
<updated>2020-08-31T22:30:45+00:00</updated>
<author>
<name>Mateusz Mikuła</name>
<email>mati865@users.noreply.github.com</email>
</author>
<published>2020-08-31T22:30:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=5ee7ae8a274fcc58754aa5a91a14b1dedbb87583'/>
<id>5ee7ae8a274fcc58754aa5a91a14b1dedbb87583</id>
<content type='text'>
Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Use `tcgetpgrp` to get PID for SpawnNewInstance</title>
<updated>2020-08-06T00:42:49+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>contact@christianduerr.com</email>
</author>
<published>2020-08-06T00:42:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=291de2500f0cbd189a9b017809091b6eb8f8f0ec'/>
<id>291de2500f0cbd189a9b017809091b6eb8f8f0ec</id>
<content type='text'>
Fixes #4082.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #4082.</pre>
</div>
</content>
</entry>
<entry>
<title>Bump minimum supported Rust version to 1.43.0</title>
<updated>2020-07-28T10:00:55+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2020-07-28T10:00:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=6c4e45f3a69c71958e65fae9a15f82d0c5a27742'/>
<id>6c4e45f3a69c71958e65fae9a15f82d0c5a27742</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fallback to SHELL instead of passwd if present</title>
<updated>2020-07-14T09:03:36+00:00</updated>
<author>
<name>Mattbazooka</name>
<email>mattbazooka@gmail.com</email>
</author>
<published>2020-07-14T09:03:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=76a4c373da48a4477c07b844442e5599fbd37ada'/>
<id>76a4c373da48a4477c07b844442e5599fbd37ada</id>
<content type='text'>
Instead of just always falling back to the shell specified in the passwd
file when no config or cli shell was specified, Alacritty will not first
look at the `$SHELL` environment variable. If this is unset, it will
still read the passwd file.

Since macOS is a bit peculiar and does not set the `$SHELL` environment
variable by default, it is set manually to the shell used by Alacritty
while any existing `$SHELL` variables are ignored. This matches the
behavior of iTerm and Terminal.app.

Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of just always falling back to the shell specified in the passwd
file when no config or cli shell was specified, Alacritty will not first
look at the `$SHELL` environment variable. If this is unset, it will
still read the passwd file.

Since macOS is a bit peculiar and does not set the `$SHELL` environment
variable by default, it is set manually to the shell used by Alacritty
while any existing `$SHELL` variables are ignored. This matches the
behavior of iTerm and Terminal.app.

Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Remove gui dependencies from alacritty_terminal</title>
<updated>2020-07-11T17:03:09+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2020-07-11T17:03:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=18cf806a27f06185b1ceb2d63f3b9bc2dd3dc80e'/>
<id>18cf806a27f06185b1ceb2d63f3b9bc2dd3dc80e</id>
<content type='text'>
This commit removes font dependency from alacritty_terminal,
so it'll simplify the usage of alacritty_terminal as a library,
since you won't link to system's libraries anymore. It also
moves many alacritty related config options from it.

Fixes #3393.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit removes font dependency from alacritty_terminal,
so it'll simplify the usage of alacritty_terminal as a library,
since you won't link to system's libraries anymore. It also
moves many alacritty related config options from it.

Fixes #3393.</pre>
</div>
</content>
</entry>
<entry>
<title>Remove copyright notice from files</title>
<updated>2020-06-06T18:49:14+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>contact@christianduerr.com</email>
</author>
<published>2020-06-06T18:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=7aafbb757d485c5ff065324464dde8b5322cdd92'/>
<id>7aafbb757d485c5ff065324464dde8b5322cdd92</id>
<content type='text'>
Keeping the license as part of every file bloats up the files
unnecessarily and introduces an additional overhead to the creation of
new modules.

Since cargo already provides excellent dependency management, most of
the code-reuse of Alacritty should occur through Rust's dependency
management instead of copying it source.

If code is copied partially, copying the license from the main license
file should be just as easy as copying from the top of the file and
making some adjustments based on where it is used is likely necessary
anyways.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keeping the license as part of every file bloats up the files
unnecessarily and introduces an additional overhead to the creation of
new modules.

Since cargo already provides excellent dependency management, most of
the code-reuse of Alacritty should occur through Rust's dependency
management instead of copying it source.

If code is copied partially, copying the license from the main license
file should be just as easy as copying from the top of the file and
making some adjustments based on where it is used is likely necessary
anyways.</pre>
</div>
</content>
</entry>
</feed>
