Alexander Sedov
e5ff746430
Selection now handles empty lines less counter-intuitively.
Now, when you are selecting a region, you will get all empty lines that happen
to be in it, including trailing ones. Last line terminator is omitted as it previously
was, though.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years ago
Christoph Lohmann
da182612b7
Removing trailing whitespace.
11 years ago
Alexander Sedov
b7e6a5c825
Got rid of redundant Glyph state.
Now, newly allocated Glyphs are set to spaces and current cursor colors
with tclearregion() routine.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years ago
Christoph Lohmann
3ae0299064
Removing unneeded comments.
11 years ago
Alexander Sedov
fed9968ba5
Got rid of code duplication in tnew() and tresize().
Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years ago
Alexander Sedov
0ca0dd8b11
Strip trailing spaces from lines when copying selection.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years ago
Christoph Lohmann
c371fe58a3
Enable BCE everywhere.
11 years ago
Christoph Lohmann
44db38a5f8
Fix the geometry handling.
11 years ago
Christoph Lohmann
de4cd2f6af
Resize now uses xclear().
11 years ago
Christoph Lohmann
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!
11 years ago
Christoph Lohmann
5dc48af29e
Patching while not really woken up.
11 years ago
Christoph Lohmann
5984657c00
Minor naming issue fixed.
11 years ago
Christoph Lohmann
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.
11 years ago
Christoph Lohmann
684cf55a0d
Make st work with a plain -e command.
11 years ago
Christoph Lohmann
b1813b14d9
Adopting arg.h with more flexible cmd handling.
11 years ago
Christoph Lohmann
580c8bbd46
Add an option to disable alternative screens.
11 years ago
Christoph Lohmann
7e7760c2ed
Add the possibility to have default highlight colors.
Thanks to stargrave@stargrave.org for the suggestion!
11 years ago
Christoph Lohmann
a1e3b94b37
Removing an undefined case. just do regular selections.
11 years ago
Christoph Lohmann
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.
11 years ago
Christoph Lohmann
55adf0aad1
Pange seems to use ascent + descent instead of height.
Thanks Bobby Powers <bobbypowers@gmail.com> for noticing this!
11 years ago
Christoph Lohmann
c6b89f23e7
Using strsep and fixing null termination in csiparse.
Thanks for the hint from Alexander Sedov <alex0player@gmail.com>!
11 years ago
Christoph Lohmann
1c1621da69
Changing the way how paste is handled, just for the nano people.
11 years ago
Christoph Lohmann
1aa26b4ecd
Fixing a bug while parsing empty arguments in csiparse.
11 years ago
Christoph Lohmann
7d32471eff
Fixing bugs in the strtol and strtok_r replacements.
Thanks "Roberto E. Vargas Caballero" <k0ga@shike2.com> for the comments!
11 years ago
Christoph Lohmann
7cb0d95509
Using strtok_r for the string parsing.
11 years ago
Christoph Lohmann
37863356b0
Using strtol with overflow checking.
11 years ago
Christoph Lohmann
be7c6d7fb0
Add insert for the primary clipboard to MOD + Shift + Ins.
Thanks Mantas Mikulėnas <grawity@gmail.com> for the patch!
11 years ago
Christoph Lohmann
e40d8da194
Removing dbe and introducing umlauts to titles.
Thanks Alexander Sedov <alex0player@gmail.com> for the title patch!
11 years ago
Christoph Lohmann
efaf1c2a94
Add umlaut support for title change.
Thanks Alexander Sedov <alex0player@gmail.com>!
11 years ago
Christoph Lohmann
1b6c6535c1
Replace parse_int with atoi().
11 years ago
Alexander Sedov
800800a3bb
Added basic xterm-ish palette swap support.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years ago
Christoph Lohmann
3865e9eaaf
Implement rectangular mouse selection.
Thanks Alexander Sedov <alex0player@gmail.com>!
11 years ago
joe9
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>
11 years ago
Christoph Lohmann
0e738c3d72
Style inquisition.
11 years ago
Christoph Lohmann
7f297e297c
Fixing the reverse mode of st colors.
Thanks Alexander Sedov <alex0player@gmail.com> for finding this!
11 years ago
Christoph Lohmann
f4a6c20f46
Adding a way to ignore bits in the state.
11 years ago
Christoph Lohmann
e0ec2cf984
Style inquisition.
11 years ago
Christoph Lohmann
086cd61511
Doing it like the new run() was proposed.
11 years ago
Christoph Lohmann
95033753be
Adding a more efficient drawing code.
Thanks Mihail Zenkov <mihail.zenkov@gmail.com> for giving the hint!
11 years ago
Christoph Lohmann
b7261c84aa
Tmux wants this to be mutually exclusive.
Thanks Egmont Koblinger <egmont@gmail.com> for noticing this!
11 years ago
Christoph Lohmann
05a1ff03e9
Adding mor explict font patterns.
11 years ago
Christoph Lohmann
eeffbe11ab
Making st not activate the cursor in case of Mod + k in dwm.
Thanks Jens Nyberg <jens.nyberg@gmail.com>!
11 years ago
Christoph Lohmann
8a9475a0dd
Setting the surrounding border to defaultbg.
Thanks Stephen Caraher <moskvax@gmail.com>!
11 years ago
Christoph Lohmann
ce3efa9e9b
Removing some debug messages.
11 years ago
Christoph Lohmann
efd04ccad6
Fixing the menus in mc.
11 years ago
Christoph Lohmann
26c101b706
Fixing the black remaining lines in mc and dialog.
This also applies some style fixes and handles some old blink codes.
11 years ago
Christoph Lohmann
384fabdb5b
Adding extended mouse reporting in st.
Thanks Egmont Koblinger <egmont@gmail.com>!
12 years ago
Christoph Lohmann
deb720af7f
Removing the debug messages again.
12 years ago
Christoph Lohmann
57f39defaf
Fixing the clipboard copying to st itself.
12 years ago
Christoph Lohmann
3036051fb1
St is in 2013 now.
12 years ago