My build of the Suckless terminal.
Go to file
noname c990abfedf Fix empty selection highlighting bug.
When user clicks LMB, one character is selected, but will not be copied
to selection until the user moves cursor a bit. Therefore, the character
should not be highlighted as selected yet.

Before the patch, the trick was not to mark line as dirty to avoid
highlighting it. However, if user has already selected something and
clicks in line that contains selection, selclear sets the line as dirty
and one character is highlighted when it should not.

This patch replaces dirty trick with explicit check for sel.mode inside
selected().
2015-05-04 12:06:43 +02:00
FAQ FAQ: fix wording 2015-03-11 17:27:55 +00:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE Update dates in LICENSE 2015-02-22 10:58:37 +00:00
Makefile arg.h wasn't used for dist. 2015-03-16 22:17:30 +01:00
README Simplify README 2014-08-18 12:12:26 +02:00
TODO Remove old TODO entry. 2015-04-13 17:06:11 +02:00
arg.h Update arg.h from sbase 2013-12-18 08:29:28 +01:00
config.def.h Add tty line support 2015-04-15 10:52:44 +02:00
config.mk Remove strsep() call 2015-03-20 07:29:28 +00:00
st.1 Add tty line support 2015-04-15 10:52:44 +02:00
st.c Fix empty selection highlighting bug. 2015-05-04 12:06:43 +02:00
st.info Finally resolving the backspace problem. 2015-03-10 00:00:44 +01: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 -s 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.