1
0
mirror of git://git.suckless.org/st synced 2025-10-16 06:26:31 +01:00
Ayman Bagabas d6c431859c Support OSC 110, 111, and 112 for resetting colors
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 <ayman.bagabas@gmail.com>
2025-08-09 12:34:01 +02:00
2018-03-20 21:22:27 +01:00
2024-04-05 12:18:41 +02:00
2012-09-18 19:08:03 +02:00
2022-01-10 17:11:17 +01:00
2023-09-22 15:16:52 +02:00
2020-04-11 15:23:20 +02:00
2015-04-13 17:06:11 +02:00

st - simple terminal
--------------------
st is a simple terminal emulator for X which sucks less.


Requirements
------------
In order to build st you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (st is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install st (if
necessary as root):

    make clean install


Running st
----------
If you did not install st with make clean install, you must compile
the st terminfo entry with the following command:

    tic -sx st.info

See the man page for additional details.

Credits
-------
Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code.

Description
No description provided
Readme MIT 2.4 MiB
Languages
C 96%
Roff 2.6%
Makefile 1.4%