<feed xmlns='http://www.w3.org/2005/Atom'>
<title>r-alacritty.git/alacritty/src/input, branch rahm2</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>Fix spelling errors</title>
<updated>2024-08-14T21:42:41+00:00</updated>
<author>
<name>Josh Soref</name>
<email>2119212+jsoref@users.noreply.github.com</email>
</author>
<published>2024-05-24T17:32:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=e7cc5a5c8fdd1a70f90523a8654c253a0e1b00b2'/>
<id>e7cc5a5c8fdd1a70f90523a8654c253a0e1b00b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Kitty protocol reporting shifted keycodes</title>
<updated>2024-08-14T21:42:41+00:00</updated>
<author>
<name>jadedpasta</name>
<email>86900272+jadedpasta@users.noreply.github.com</email>
</author>
<published>2024-05-23T18:36:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=55f037d96230d4aa3ee8e85be7b22a2bbbfff216'/>
<id>55f037d96230d4aa3ee8e85be7b22a2bbbfff216</id>
<content type='text'>
The [kitty keyboard protocol][1] explicitly requires that the
*un-shifted* version of the pressed key is used to report the primary
code point in `CSI code-point;modifiers u` sequences.

&gt; Note that the codepoint used is always the lower-case (or more
&gt; technically, un-shifted) version of the key. If the user presses, for
&gt; example, ctrl+shift+a the escape code would be CSI 97;modifiers u. It
&gt; must not be CSI 65; modifiers u.

Alacritty's current behavior is to report the shifted version when shift
is pressed, and the un-shifted version otherwise:

```console
 # Note that you'll have to kill Alacritty after running this to get
 # control back!
$ echo -ne '\x1b[&gt;1u'; cat
^[[97;5u^[[65;6u
```

The above was generated by pressing `CTRL`+`a` followed by
`CTRL`+`SHIFT`+`a` after running the command. Here `97` and `65` are the
codepoints for `a` and `A` respectively.

This change makes Alacritty match the protocol (and Kitty's) behavior.
With this change applied, `97` is reported for both `CTRL`+`a` and
`CTRL`+`SHIFT`+`a`.

[1]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#key-codes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The [kitty keyboard protocol][1] explicitly requires that the
*un-shifted* version of the pressed key is used to report the primary
code point in `CSI code-point;modifiers u` sequences.

&gt; Note that the codepoint used is always the lower-case (or more
&gt; technically, un-shifted) version of the key. If the user presses, for
&gt; example, ctrl+shift+a the escape code would be CSI 97;modifiers u. It
&gt; must not be CSI 65; modifiers u.

Alacritty's current behavior is to report the shifted version when shift
is pressed, and the un-shifted version otherwise:

```console
 # Note that you'll have to kill Alacritty after running this to get
 # control back!
$ echo -ne '\x1b[&gt;1u'; cat
^[[97;5u^[[65;6u
```

The above was generated by pressing `CTRL`+`a` followed by
`CTRL`+`SHIFT`+`a` after running the command. Here `97` and `65` are the
codepoints for `a` and `A` respectively.

This change makes Alacritty match the protocol (and Kitty's) behavior.
With this change applied, `97` is reported for both `CTRL`+`a` and
`CTRL`+`SHIFT`+`a`.

[1]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/#key-codes</pre>
</div>
</content>
</entry>
<entry>
<title>Fix mouse mode bindings with multiple actions</title>
<updated>2024-08-14T21:42:41+00:00</updated>
<author>
<name>EBADBEEF</name>
<email>errno@ebadf.com</email>
</author>
<published>2024-05-16T21:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=7574c3fee7bd4f368c4789a85642bbecf0cd5ae9'/>
<id>7574c3fee7bd4f368c4789a85642bbecf0cd5ae9</id>
<content type='text'>
The following config was broken:
```
[mouse]
bindings = [
    { mouse = "Right", mods = "Shift", action = "Copy"            },
    { mouse = "Right", mods = "Shift", action = "ClearSelection"  },
]
```

Only the first action was applied. Change to allow more than one exact
match in mouse mode with shift held, but keep the logic to not allow
fallback search if any exact match was found.

Regression was introduced in 1a143d11.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following config was broken:
```
[mouse]
bindings = [
    { mouse = "Right", mods = "Shift", action = "Copy"            },
    { mouse = "Right", mods = "Shift", action = "ClearSelection"  },
]
```

Only the first action was applied. Change to allow more than one exact
match in mouse mode with shift held, but keep the logic to not allow
fallback search if any exact match was found.

Regression was introduced in 1a143d11.</pre>
</div>
</content>
</entry>
<entry>
<title>Bump winit to 0.30.0</title>
<updated>2024-08-14T21:42:41+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2024-05-04T16:51:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=823c945b0049565bfce1b26010183a2874dd06fe'/>
<id>823c945b0049565bfce1b26010183a2874dd06fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash when trying to open a new tab on macOS</title>
<updated>2024-08-14T21:42:41+00:00</updated>
<author>
<name>William Viktorsson</name>
<email>williamviktorsson@gmail.com</email>
</author>
<published>2024-04-20T23:11:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=19f8a941d0ea8784c3b57524addb1acbfe9a5adb'/>
<id>19f8a941d0ea8784c3b57524addb1acbfe9a5adb</id>
<content type='text'>
This fixes an issue where Alacritty would crash when trying to open a
new tab on macOS while having decorations disabled.

Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes an issue where Alacritty would crash when trying to open a
new tab on macOS while having decorations disabled.

Co-authored-by: Christian Duerr &lt;contact@christianduerr.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Send ESC with Alt for unicode input</title>
<updated>2024-08-14T21:42:39+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2024-03-24T15:07:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=92d7d9ca196e3ca075f3f612cff5005c9ec3506f'/>
<id>92d7d9ca196e3ca075f3f612cff5005c9ec3506f</id>
<content type='text'>
Make `Alt` send `ESC` for unicode input the way it's done for ASCII.
Previously it was disabled because of macOS, however on macOS we're
using the `option_as_alt` setting, which solves the original issue.

The `Alt` prefixing is still disabled for the unicode strings, like
when they come from the compose input.

Fixes #7852.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make `Alt` send `ESC` for unicode input the way it's done for ASCII.
Previously it was disabled because of macOS, however on macOS we're
using the `option_as_alt` setting, which solves the original issue.

The `Alt` prefixing is still disabled for the unicode strings, like
when they come from the compose input.

Fixes #7852.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix kitty encoding used for char input without text</title>
<updated>2024-08-14T21:41:13+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2024-03-21T04:00:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=70a2fb29fa2e332f4d183d8b94b92c75e841325e'/>
<id>70a2fb29fa2e332f4d183d8b94b92c75e841325e</id>
<content type='text'>
On Windows some key combinations for regular text input, like Ctrl+1
don't have any text attached, so they were generating the kitty escape
sequence even when they shouldn't.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Windows some key combinations for regular text input, like Ctrl+1
don't have any text attached, so they were generating the kitty escape
sequence even when they shouldn't.</pre>
</div>
</content>
</entry>
<entry>
<title>Unlock more bindings from the keyboard</title>
<updated>2024-02-23T22:55:11+00:00</updated>
<author>
<name>Josh Rahm</name>
<email>rahm@google.com</email>
</author>
<published>2024-02-23T22:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=567f3430227d36b9b37e655717c0aba348609913'/>
<id>567f3430227d36b9b37e655717c0aba348609913</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix clippy warnings</title>
<updated>2024-02-13T21:20:49+00:00</updated>
<author>
<name>Christian Duerr</name>
<email>contact@christianduerr.com</email>
</author>
<published>2024-02-13T21:08:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=de12f03812e04c1b7cd58e8aa86d50e55de92f33'/>
<id>de12f03812e04c1b7cd58e8aa86d50e55de92f33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use kitty sequences outside protocol</title>
<updated>2024-01-30T20:11:16+00:00</updated>
<author>
<name>Kirill Chibisov</name>
<email>contact@kchibisov.com</email>
</author>
<published>2024-01-30T20:11:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/r-alacritty.git/commit/?id=38d63abd5f227fe639ee0f9f0e3f1cf4d6207e28'/>
<id>38d63abd5f227fe639ee0f9f0e3f1cf4d6207e28</id>
<content type='text'>
Originally kitty defined that functional keys, which are not encoded
by default, like `Pause` should be encoded with `CSI u`. However
the specification was clarified and now it says that terminal
may ignore that part. Given that Alacritty tries to follow xterm/urxvt
when it comes to bindings, CSI u bindings are not send for consistency
reasons.

This also brings back F13-F20 bindings used by Alacritty in 0.12.3, as
well as explicitly defines `NumpadEnter` like it was before.

Closes #7623.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally kitty defined that functional keys, which are not encoded
by default, like `Pause` should be encoded with `CSI u`. However
the specification was clarified and now it says that terminal
may ignore that part. Given that Alacritty tries to follow xterm/urxvt
when it comes to bindings, CSI u bindings are not send for consistency
reasons.

This also brings back F13-F20 bindings used by Alacritty in 0.12.3, as
well as explicitly defines `NumpadEnter` like it was before.

Closes #7623.</pre>
</div>
</content>
</entry>
</feed>
