<feed xmlns='http://www.w3.org/2005/Atom'>
<title>st.git, branch main</title>
<subtitle>My build of suckless st
</subtitle>
<id>https://git.wellsth.com/st.git/atom?h=main</id>
<link rel='self' href='https://git.wellsth.com/st.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.wellsth.com/st.git/'/>
<updated>2026-04-17T10:45:18Z</updated>
<entry>
<title>Simple config</title>
<updated>2026-04-17T10:45:18Z</updated>
<author>
<name>twells46</name>
<email>tom@wellsth.com</email>
</author>
<published>2026-04-17T10:44:12Z</published>
<link rel='alternate' type='text/html' href='https://git.wellsth.com/st.git/commit/?id=40ad15c45cf9a22909f4e9249d126c8606261b26'/>
<id>urn:sha1:40ad15c45cf9a22909f4e9249d126c8606261b26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bump version to 0.9.3</title>
<updated>2025-08-09T12:35:14Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2025-08-09T12:35:14Z</published>
<link rel='alternate' type='text/html' href='https://git.wellsth.com/st.git/commit/?id=6e970474743d57a5d8b054c41fd3bff2bc895742'/>
<id>urn:sha1:6e970474743d57a5d8b054c41fd3bff2bc895742</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add a few comments</title>
<updated>2025-08-09T12:22:28Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2025-08-09T10:57:30Z</published>
<link rel='alternate' type='text/html' href='https://git.wellsth.com/st.git/commit/?id=5a4666c19e3956069147aee43a06b326d998366e'/>
<id>urn:sha1:5a4666c19e3956069147aee43a06b326d998366e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support OSC 110, 111, and 112 for resetting colors</title>
<updated>2025-08-09T10:34:01Z</updated>
<author>
<name>Ayman Bagabas</name>
<email>ayman.bagabas@gmail.com</email>
</author>
<published>2025-08-08T21:11:59Z</published>
<link rel='alternate' type='text/html' href='https://git.wellsth.com/st.git/commit/?id=d6c431859c6c0201e0668ed24a9f17cebf0a68f5'/>
<id>urn:sha1:d6c431859c6c0201e0668ed24a9f17cebf0a68f5</id>
<content type='text'>
This adds support for OSC 110, 111, and 112 escape sequences to reset
the foreground, background, and cursor colors in the terminal. The
changes include handling these sequences in the `strhandle` function of
`st.c`, allowing applications to reset colors to their default values.

The OSC sequences originated from Xterm control sequences and are now
widely used in terminal applications and supported by many terminal
emulators. For applications, this allows them to reset colors to
default values without needing to know the colors beforehand.

Signed-off-by: Ayman Bagabas &lt;ayman.bagabas@gmail.com&gt;
</content>
</entry>
<entry>
<title>Eat up "CSI 58" sequences</title>
<updated>2025-07-27T18:06:54Z</updated>
<author>
<name>sasha</name>
<email>sasha.code@posteo.mx</email>
</author>
<published>2025-07-27T05:43:47Z</published>
<link rel='alternate' type='text/html' href='https://git.wellsth.com/st.git/commit/?id=f114bcedd113017d907aad32031db92c050f4bf3'/>
<id>urn:sha1:f114bcedd113017d907aad32031db92c050f4bf3</id>
<content type='text'>
This is used in the wild by systemd systemctl for example and st
misinterpreted it as "blink", because it didn't know "58", then saw "5"
as "blink", and then didn't know "245".

This should print "foo" as normal text:

    printf '\e[58:5:245mfoo\n'
    printf '\e[58:2:50:100:200mfoo\n'
</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.wellsth.com/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.wellsth.com/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>fix BadMatch error when embedding on some windows</title>
<updated>2024-08-09T11:34:56Z</updated>
<author>
<name>Lucas de Sena</name>
<email>lucas@seninha.org</email>
</author>
<published>2024-08-09T11:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.wellsth.com/st.git/commit/?id=a0274bc20e11d8672bb2953fdd1d3010c0e708c5'/>
<id>urn:sha1:a0274bc20e11d8672bb2953fdd1d3010c0e708c5</id>
<content type='text'>
When embedded, st fails with BadMatch error if the embedder's window has
non-default colormap/depth/visual.  This commit fixes that by creating
st's window inside root and then reparent it into embedder.

The reference window for dc.gc is also changed to match root's visuals.

A similar commit had been made for dmenu[1].
See this issue[2] on github for context.

[1]: https://git.suckless.org/dmenu/commit/0fe460dbd469a1d5b6a7140d0e1801935e4a923b.html
[2]: https://github.com/phillbush/xfiles/issues/47
</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.wellsth.com/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>bump version to 0.9.2</title>
<updated>2024-04-05T10:18:41Z</updated>
<author>
<name>Hiltjo Posthuma</name>
<email>hiltjo@codemadness.org</email>
</author>
<published>2024-04-05T10:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.wellsth.com/st.git/commit/?id=d63b9eb90245926b531bd54b1d591adb96613e70'/>
<id>urn:sha1:d63b9eb90245926b531bd54b1d591adb96613e70</id>
<content type='text'>
</content>
</entry>
</feed>
