a fork of https://st.suckless.org with some patches and zig build
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
jamin c8748c8e2c Fix overtyping wide characters.
Overtyping the first half of a wide character with the
second half of a wide character results in display garbage.
This is because the trailing dummy is not cleaned up.

i.e.  ATTR_WIDE, ATTR_WDUMMY, ATTR_WDUMMY

Here is a short script for demonstrating the behavior:

	#!/bin/sh
	alias printf=/usr/bin/printf
	printf こんにちは!; sleep 2
	printf '\x1b[5D'; sleep 2
	printf へ; sleep 2
	printf ' '; sleep 2
	echo

(cherry picked from commit 65f1dc428315ae9d7f362e10c668557c1379e7af)
2 years ago
src set up a UB handler thanks to zig 2 years ago
FAQ FAQ: fix single-buffer patch 5 years ago
LEGACY LEGACY: typo. 12 years ago
LICENSE LICENSE: bump years 4 years ago
Makefile Makefile: fix dependencies on config.h 6 years ago
README tic -s -> tic -sx (Treat unknown capabilities as user-defined.) 8 years ago
TODO Remove old TODO entry. 10 years ago
arg.h don't modify argv, use a counter 7 years ago
build.zig set up a UB handler thanks to zig 2 years ago
config.def.h support OSC color sequences 2 years ago
config.mk bump version to 0.8.4 4 years ago
st.1 Add support for scroll(1) 5 years ago
st.c Fix overtyping wide characters. 2 years ago
st.h support OSC color sequences 2 years ago
st.info Partially add back in "support REP (repeat) escape sequence" 5 years ago
win.h apply xresources reload on signal patch 2 years ago
x.c support OSC color sequences 2 years ago

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.