1
0
mirror of git://git.suckless.org/st synced 2025-04-03 20:33:48 +01:00
Johannes Altmanninger 98610fcd37 Do not interpret CSI ? u as DECRC
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.
2025-01-30 17:50:37 +01: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
2025-01-30 17:50:37 +01: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.3 MiB
Languages
C 95.9%
Roff 2.6%
Makefile 1.5%