<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ghostty.git/src/input/Link.zig, branch tip</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/'/>
<entry>
<title>config: implement `clone` for RepeatableLink</title>
<updated>2024-11-26T18:50:13+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>m@mitchellh.com</email>
</author>
<published>2024-11-26T18:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=9171cb5c295614a71d50f399cee6eb048f37ca0d'/>
<id>9171cb5c295614a71d50f399cee6eb048f37ca0d</id>
<content type='text'>
Fixes #2819
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2819
</pre>
</div>
</content>
</entry>
<entry>
<title>core: clicking OSC8 links work</title>
<updated>2024-07-06T04:40:39+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2024-07-04T22:08:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=f8fe0445a5baca815d9dd4fc70b9b41011093fab'/>
<id>f8fe0445a5baca815d9dd4fc70b9b41011093fab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>url/Link: simplify regex, remove 'find_longest' param and add new tests</title>
<updated>2024-02-02T00:23:39+00:00</updated>
<author>
<name>Erlend Lind Madsen</name>
<email>erlendf80@gmail.com</email>
</author>
<published>2024-02-01T23:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=4475f5b9c5e6955c6034b2792e194d8122b479c0'/>
<id>4475f5b9c5e6955c6034b2792e194d8122b479c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>core: handle mouse capture events with link highlighting</title>
<updated>2024-02-01T17:19:39+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2024-02-01T17:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=6de4533afb0032220188ac072ee38beab5e1033e'/>
<id>6de4533afb0032220188ac072ee38beab5e1033e</id>
<content type='text'>
Fixes #1416

At a high level, the issue is that when mouse capture is enabled (i.e. in
neovim), "shift" escapes the capture. So "cmd+shift" is equal to "cmd"
which doesn't get sent to the TUI program and so on. For link
highlighting which now requires "cmd" (super) is held, we were sending
"cmd+shift" to the renderer so we weren't checking for links.

So the core of this commit is respecting this scenario and stripping the
shift modifier.

This commit also found that when the mouse wasn't over a link, we were
always checking and highlighting links on line one of the visible
screen. This bug is fixed and should also result in a very slight
performance improvement on rendering in all cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1416

At a high level, the issue is that when mouse capture is enabled (i.e. in
neovim), "shift" escapes the capture. So "cmd+shift" is equal to "cmd"
which doesn't get sent to the TUI program and so on. For link
highlighting which now requires "cmd" (super) is held, we were sending
"cmd+shift" to the renderer so we weren't checking for links.

So the core of this commit is respecting this scenario and stripping the
shift modifier.

This commit also found that when the mouse wasn't over a link, we were
always checking and highlighting links on line one of the visible
screen. This bug is fixed and should also result in a very slight
performance improvement on rendering in all cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>input: add link highlight always/hover w/ mods</title>
<updated>2024-01-28T03:07:49+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2024-01-28T03:07:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=3efe88c85c63177af9c1df7a16289efff18d5340'/>
<id>3efe88c85c63177af9c1df7a16289efff18d5340</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add a new highlight state that requires modifiers</title>
<updated>2024-01-28T03:03:03+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2024-01-28T03:03:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=ae11cc9042f14de484082b0bee35e8c767ab4e19'/>
<id>ae11cc9042f14de484082b0bee35e8c767ab4e19</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>config: improve link matching for URLs ending in . or )</title>
<updated>2023-12-17T01:34:38+00:00</updated>
<author>
<name>Caleb Spare</name>
<email>cespare@gmail.com</email>
</author>
<published>2023-12-17T00:54:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=ae94af37c02781f678e84e863b8c1d1ef24db5c8'/>
<id>ae94af37c02781f678e84e863b8c1d1ef24db5c8</id>
<content type='text'>
Fixes #1098
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1098
</pre>
</div>
</content>
</entry>
<entry>
<title>input: better docs on links</title>
<updated>2023-11-29T23:30:23+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2023-11-29T23:25:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=c66273e91cb999ffe1e4a59ae34b1f445e217977'/>
<id>c66273e91cb999ffe1e4a59ae34b1f445e217977</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>input: add Link</title>
<updated>2023-11-29T23:30:22+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2023-11-27T21:38:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=be05c3af539eca71fc526743c8dc1b5ae77be7be'/>
<id>be05c3af539eca71fc526743c8dc1b5ae77be7be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
