Go to file
Lucas de Sena a0274bc20e fix BadMatch error when embedding on some windows
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
2024-08-09 13:34:56 +02:00
FAQ FAQ: document the color emojis crash issue which affected some systems is fixed 2022-09-16 23:07:09 +02:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE LICENSE: bump year 2022-01-10 17:11:17 +01:00
Makefile Makefile: remove the options target 2023-09-22 15:16:52 +02:00
README tic -s -> tic -sx (Treat unknown capabilities as user-defined.) 2016-11-14 19:05:47 +01:00
TODO Remove old TODO entry. 2015-04-13 17:06:11 +02:00
arg.h don't modify argv, use a counter 2018-03-20 21:22:27 +01:00
config.def.h config.def.h: improve latency for the default configuration 2024-03-17 14:42:44 +01:00
config.mk bump version to 0.9.2 2024-04-05 12:18:41 +02:00
st.1 Add support for scroll(1) 2020-04-11 15:23:20 +02:00
st.c support colons in SGR character attributes 2024-05-01 20:45:39 +02:00
st.h code-golfing: cleanup osc color related code 2022-04-19 11:43:37 +02:00
st.info Add terminfo entries for bracketed paste mode 2023-10-07 12:16:59 +02:00
win.h code-golfing: cleanup osc color related code 2022-04-19 11:43:37 +02:00
x.c fix BadMatch error when embedding on some windows 2024-08-09 13:34:56 +02:00

README

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.