<feed xmlns='http://www.w3.org/2005/Atom'>
<title>st.git/st.c, branch master</title>
<subtitle>my custom st build
</subtitle>
<id>https://git.aidengall.xyz/st.git/atom?h=master</id>
<link rel='self' href='https://git.aidengall.xyz/st.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/'/>
<updated>2025-06-19T11:15:22Z</updated>
<entry>
<title>Merge commit '98610fc'</title>
<updated>2025-06-19T11:15:22Z</updated>
<author>
<name>Aiden Gall</name>
<email>aiden@aidengall.xyz</email>
</author>
<published>2025-06-19T11:15:22Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=3ecd13a93e678b6fcc48cc5a34253ba03ff3b7e3'/>
<id>urn:sha1:3ecd13a93e678b6fcc48cc5a34253ba03ff3b7e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge upstream</title>
<updated>2025-06-19T11:15:18Z</updated>
<author>
<name>Aiden Gall</name>
<email>aiden@aidengall.xyz</email>
</author>
<published>2025-06-19T11:15:18Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=1045eb73fe0ccc37b9aae8feb4294822463644c4'/>
<id>urn:sha1:1045eb73fe0ccc37b9aae8feb4294822463644c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not interpret CSI ? u as DECRC</title>
<updated>2025-01-30T16:50:37Z</updated>
<author>
<name>Johannes Altmanninger</name>
<email>aclopte@gmail.com</email>
</author>
<published>2025-01-26T12:40:57Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=98610fcd37f655d44586323dc86c1d013c2798ce'/>
<id>urn:sha1:98610fcd37f655d44586323dc86c1d013c2798ce</id>
<content type='text'>
The kitty keyboard protocol docs recommend CSI ? u to query support for
that protocol, see https://sw.kovidgoyal.net/kitty/keyboard-protocol/

For better or worse, fish shell uses this query to work around bugs
in other terminals triggered by requesting that protocol via CSI = 5 u.

Unfortunately, st interprets CSI ? u as DECRC (restore cursor
position). reproduce with 'printf "\x1b[?u"; cat'.

fish could work around this by switching to the alternate screen
before running this query; but that might cause tearing on terminals
that don't support Synchronized Output. I'm not sure.

In the meantime, let's correct our parser.

This adds a redundant else-after-return, for consistency with the
surrounding code.
</content>
</entry>
<entry>
<title>Clear screen: Fix edge case</title>
<updated>2024-12-06T12:42:50Z</updated>
<author>
<name>Markus Rinne</name>
<email>markus.ka.rinne@gmail.com</email>
</author>
<published>2024-11-25T11:31:56Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=6009e6e25bdff9548f085e9ae562b1ca305d3a0b'/>
<id>urn:sha1:6009e6e25bdff9548f085e9ae562b1ca305d3a0b</id>
<content type='text'>
With sequence \e[1J, if cursor is on second line, clear the first line.
</content>
</entry>
<entry>
<title>merge upstream</title>
<updated>2024-05-14T12:49:58Z</updated>
<author>
<name>Aiden Gall</name>
<email>aiden@aidengall.xyz</email>
</author>
<published>2024-05-14T12:49:58Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=6b1898dce6eb8bb32391a833f03abcf9404b9e5b'/>
<id>urn:sha1:6b1898dce6eb8bb32391a833f03abcf9404b9e5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>support colons in SGR character attributes</title>
<updated>2024-05-01T18:45:39Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2024-05-01T18:45:39Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=5dbcca49263be094fc38159c297458ae323ef647'/>
<id>urn:sha1:5dbcca49263be094fc38159c297458ae323ef647</id>
<content type='text'>
Patch by Mikhail Kot &lt;to@myrrc.dev&gt;
With some modifications to behave more like xterm (see note below).

Example:

	printf '\033[48;2;255:0:0mtest\n'

https://invisible-island.net/xterm/ctlseqs/ctlseqs.html

Some notes:

"CSI Pm m  Character Attributes (SGR).
[...]
o   xterm allows either colons (standard) or semicolons
(legacy) to separate the subparameters (but after the
first colon, colons must be used).
</content>
</entry>
<entry>
<title>merge upstream</title>
<updated>2024-04-05T14:09:59Z</updated>
<author>
<name>Aiden Gall</name>
<email>aiden@aidengall.xyz</email>
</author>
<published>2024-04-05T14:09:59Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=9d8cc9f05e1cd2bb2d324bb57c38dba3236141b7'/>
<id>urn:sha1:9d8cc9f05e1cd2bb2d324bb57c38dba3236141b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Fix cursor move with wide glyphs"</title>
<updated>2024-03-30T11:37:06Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2024-03-30T11:30:49Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=8c68ec52419f3f965164cafcf589b87e8961348d'/>
<id>urn:sha1:8c68ec52419f3f965164cafcf589b87e8961348d</id>
<content type='text'>
This reverts commit 7473a8d1a57e5f9aba41b953f4e498c35e1c9dc5.

This patch needs some more work. It caused regressions with programs that use
GNU readline, etc.

Original test-case example from Tim Culverhouse &lt;tim@timculverhouse.com&gt;:

	printf " 😀" &amp;&amp; sleep 2 &amp;&amp; printf "\e[D" &amp;&amp; sleep 2 &amp;&amp; printf "\e[D" &amp;&amp; sleep 2

After the patch it caused regressions, example test-case:

	printf "A字\bB\n"
</content>
</entry>
<entry>
<title>merge upstream</title>
<updated>2024-03-18T04:07:13Z</updated>
<author>
<name>Aiden Gall</name>
<email>aiden@aidengall.xyz</email>
</author>
<published>2024-03-18T04:07:13Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=ff28dfbb3f69fc94f536bb09d8be8d026ba6560f'/>
<id>urn:sha1:ff28dfbb3f69fc94f536bb09d8be8d026ba6560f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>set upper limit for REP escape sequence argument</title>
<updated>2024-03-04T22:50:58Z</updated>
<author>
<name>Tommi Hirvola</name>
<email>tommi@hirvola.fi</email>
</author>
<published>2024-03-04T10:56:30Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=95f22c53059ccd60ee701ccf2659dacd95e4e89a'/>
<id>urn:sha1:95f22c53059ccd60ee701ccf2659dacd95e4e89a</id>
<content type='text'>
Previously, printf 'L\033[2147483647b' would call tputc('L') 2^31 times,
making st unresponsive. This commit allows repeating the last character
at most 65535 times in order to prevent freezing and DoS attacks.
</content>
</entry>
</feed>
