Commit Graph

518 Commits

Author SHA1 Message Date
fed9968ba5 Got rid of code duplication in tnew() and tresize().
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-04-18 06:39:43 +02:00
0ca0dd8b11 Strip trailing spaces from lines when copying selection.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-04-14 21:32:53 +02:00
c371fe58a3 Enable BCE everywhere. 2013-04-14 18:30:10 +02:00
44db38a5f8 Fix the geometry handling. 2013-04-13 15:24:26 +02:00
4de64fa4d2 \033 should be used in printf in the FAQ.
Never apply patches of Apple users without shouting at them. The basic rule of
nature is that when you apply Appl users patches without shouting at them that
something will go horribly wrong.
2013-04-13 12:26:17 +02:00
de4cd2f6af Resize now uses xclear(). 2013-04-13 09:49:11 +02:00
1e7816c202 Drawing a more visible rectangle as cursor on unfocus.
To have a more visible cursor on unfocused windows this patch makes st draw a
rectangle around the terminal cell.

Thanks Mark Hills <mark@xwax.org> for the suggestion!
2013-04-13 09:44:00 +02:00
5dc48af29e Patching while not really woken up. 2013-04-13 08:51:30 +02:00
5984657c00 Minor naming issue fixed. 2013-04-13 08:50:38 +02:00
4018b2c507 Making the copy and pasting consistent.
The copying and pasting in the terminald and GUI world is flawed. Due to the
discussion on the mailinglist it seems that sending '\n' is what GUIs expect
and '\r' what terminal applications want. St now implements that behaviour.
2013-04-13 08:48:17 +02:00
ddd429ea24 Convert FAQ into Markdown, to make it easier to integrate it into http://st.suckless.org/
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-04-13 08:25:07 +02:00
684cf55a0d Make st work with a plain -e command. 2013-04-10 17:48:32 +02:00
b1813b14d9 Adopting arg.h with more flexible cmd handling. 2013-04-03 21:00:38 +02:00
580c8bbd46 Add an option to disable alternative screens. 2013-04-03 20:42:27 +02:00
502911e554 Updating the TODO file for after 0.4. 2013-03-29 19:44:37 +01:00
a3a5b8e15e Releasing 0.4. 0.4 2013-03-29 19:13:26 +01:00
7e7760c2ed Add the possibility to have default highlight colors.
Thanks to stargrave@stargrave.org for the suggestion!
2013-03-29 19:01:24 +01:00
adde5c6d9d Adding PgUp + Ctrl.
Thanks stargrave@stargrave.org!
2013-03-29 18:45:09 +01:00
f876810626 Adding PgUp and PgDown + Ctrl to config.def.h
Thanks stargrave@stargrave.org!
2013-03-29 18:43:32 +01:00
a1e3b94b37 Removing an undefined case. just do regular selections. 2013-03-29 18:39:01 +01:00
4b17dddb10 Making rectangular selection work again.
People sending me patches against strange revisions and basing on their own
revisions make me having to reapply them. Then such errors appear.

Thanks Alexander Sedov <alex0player@gmail.com> for noticing this.
2013-03-20 21:19:28 +01:00
55adf0aad1 Pange seems to use ascent + descent instead of height.
Thanks Bobby Powers <bobbypowers@gmail.com> for noticing this!
2013-03-10 21:16:51 +01:00
82494f248d Making st compile on OS X. 2013-03-05 22:12:11 +01:00
c6b89f23e7 Using strsep and fixing null termination in csiparse.
Thanks for the hint from Alexander Sedov <alex0player@gmail.com>!
2013-02-26 21:43:40 +01:00
1c1621da69 Changing the way how paste is handled, just for the nano people. 2013-02-26 19:08:51 +01:00
1aa26b4ecd Fixing a bug while parsing empty arguments in csiparse. 2013-02-26 19:07:23 +01:00
7d32471eff Fixing bugs in the strtol and strtok_r replacements.
Thanks "Roberto E. Vargas Caballero" <k0ga@shike2.com> for the comments!
2013-02-26 18:19:44 +01:00
7cb0d95509 Using strtok_r for the string parsing. 2013-02-25 13:36:40 +01:00
37863356b0 Using strtol with overflow checking. 2013-02-25 13:23:56 +01:00
be7c6d7fb0 Add insert for the primary clipboard to MOD + Shift + Ins.
Thanks Mantas Mikulėnas <grawity@gmail.com> for the patch!
2013-02-23 21:50:13 +01:00
e40d8da194 Removing dbe and introducing umlauts to titles.
Thanks Alexander Sedov <alex0player@gmail.com> for the title patch!
2013-02-23 21:44:06 +01:00
efaf1c2a94 Add umlaut support for title change.
Thanks Alexander Sedov <alex0player@gmail.com>!
2013-02-23 21:20:21 +01:00
1b6c6535c1 Replace parse_int with atoi(). 2013-02-23 21:17:25 +01:00
800800a3bb Added basic xterm-ish palette swap support.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-19 19:12:42 +01:00
3865e9eaaf Implement rectangular mouse selection.
Thanks Alexander Sedov <alex0player@gmail.com>!
2013-02-19 19:08:41 +01:00
e5295629cd ensure that the italic font has the same weight as the normal font
The specified font[] pattern need not have a medium weight. It could be
specified as a number too or have a different weight other than medium.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-19 16:09:05 +01:00
0e738c3d72 Style inquisition. 2013-02-19 16:04:54 +01:00
7f297e297c Fixing the reverse mode of st colors.
Thanks Alexander Sedov <alex0player@gmail.com> for finding this!
2013-02-19 15:51:25 +01:00
f4a6c20f46 Adding a way to ignore bits in the state. 2013-02-16 13:57:12 +01:00
e0ec2cf984 Style inquisition. 2013-02-15 19:36:20 +01:00
a92a678e25 The refresh rate for the action needs to be high too. 2013-02-15 19:34:53 +01:00
de7e0e9c8d Changing the fps to something reasonable high. 2013-02-15 19:32:37 +01:00
086cd61511 Doing it like the new run() was proposed. 2013-02-15 19:30:43 +01:00
95033753be Adding a more efficient drawing code.
Thanks Mihail Zenkov <mihail.zenkov@gmail.com> for giving the hint!
2013-02-15 19:10:22 +01:00
b7261c84aa Tmux wants this to be mutually exclusive.
Thanks Egmont Koblinger <egmont@gmail.com> for noticing this!
2013-02-15 17:45:38 +01:00
05a1ff03e9 Adding mor explict font patterns. 2013-02-13 21:35:27 +01:00
eeffbe11ab Making st not activate the cursor in case of Mod + k in dwm.
Thanks Jens Nyberg <jens.nyberg@gmail.com>!
2013-02-11 22:20:16 +01:00
8a9475a0dd Setting the surrounding border to defaultbg.
Thanks Stephen Caraher <moskvax@gmail.com>!
2013-02-10 16:36:03 +01:00
ce3efa9e9b Removing some debug messages. 2013-02-08 20:24:26 +01:00
efd04ccad6 Fixing the menus in mc. 2013-01-27 17:48:01 +01:00