589 Commits (7a4eefe87cb7661c8a77286d05b6c3afb467f806)
 

Author SHA1 Message Date
Christoph Lohmann 911ba5674b Selection snapping is now considering wrapping.
Thanks Alexander Rezinsky <alexrez@gmail.com> for mentioning this!
12 years ago
Christoph Lohmann a53017c8b4 Add a possibility to modify the string sent by mouse buttons.
Thanks Alexander Rezinsky <alexrez@gmail.com> for the suggestion!
12 years ago
Christoph Lohmann a77b01176a Be more efficient in blinking. 12 years ago
Christoph Lohmann 1e09726518 Enable blinking in st. 12 years ago
Christoph Lohmann 1b2751f5c2 Fixing the selection handling to allow one char selection.
Thanks Alexander Sedov <alex0player@gmail.com> for suggesting the fix!
12 years ago
Christoph Lohmann 0851f2be2a Fixing the selection issue in altscreens. 12 years ago
Alexander Sedov 011c0f9e5b Removed redundant check in draw code.
We're now clearing empty areas with spaces, so there is no point to check
if character contains non-empty string.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
12 years ago
Roberto E. Vargas Caballero 048c54fd5b Fix selecting clearing and BCE
The commit b78c5085f7 changed the st behaviour enabling BCE capability,
that means erase regions using background color. Problem comes when you
clear a region with a selection, because in this case the real mode of the
Glyph is not the value of term.line[y][x], due in drawregion we had enabled
the ATTR_REVERSE bit.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
12 years ago
Christoph Lohmann 6b03bb769a Now clipping is more clear. 12 years ago
Christoph Lohmann db6f796ecf Removing the overdrawing of some fonts. 12 years ago
Christoph Lohmann 7ea6863208 Yes, rs2 != is2. 12 years ago
Christoph Lohmann 8037dac847 There is no 8bit by default and reset 8bit too. 12 years ago
Christoph Lohmann 2bd6afd1c9 Implementing 8 bit mode for meta. 12 years ago
Christoph Lohmann b596d6ba3c Adding wrap handling in selection. 12 years ago
Alexander Sedov 872a7f18ea Added support for double/triple click+dragging.
Now double-click+dragging automatically snaps both ends to word boundaries
(unless on series of spaces), and triple-click selects whole lines.
As a side effect, snapping now occurs on button press, not button release
like it previously was, but I hope that won't be inconvenient for anyone.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
12 years ago
Christoph Lohmann 3c546ae739 0.4.1 release. 12 years ago
Christoph Lohmann 645c1b0afc Making st compile on OpenBSD again. 12 years ago
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>
12 years ago
Christoph Lohmann da182612b7 Removing trailing whitespace. 12 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>
12 years ago
Christoph Lohmann 3ae0299064 Removing unneeded comments. 12 years ago
Alexander Sedov fed9968ba5 Got rid of code duplication in tnew() and tresize().
Signed-off-by: Christoph Lohmann <20h@r-36.net>
12 years ago
Alexander Sedov 0ca0dd8b11 Strip trailing spaces from lines when copying selection.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
12 years ago
Christoph Lohmann c371fe58a3 Enable BCE everywhere. 12 years ago
Christoph Lohmann 44db38a5f8 Fix the geometry handling. 12 years ago
Christoph Lohmann 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.
12 years ago
Christoph Lohmann de4cd2f6af Resize now uses xclear(). 12 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!
12 years ago
Christoph Lohmann 5dc48af29e Patching while not really woken up. 12 years ago
Christoph Lohmann 5984657c00 Minor naming issue fixed. 12 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.
12 years ago
Kai Hendry 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>
12 years ago
Christoph Lohmann 684cf55a0d Make st work with a plain -e command. 12 years ago
Christoph Lohmann b1813b14d9 Adopting arg.h with more flexible cmd handling. 12 years ago
Christoph Lohmann 580c8bbd46 Add an option to disable alternative screens. 12 years ago
Christoph Lohmann 502911e554 Updating the TODO file for after 0.4. 12 years ago
Christoph Lohmann a3a5b8e15e Releasing 0.4. 12 years ago
Christoph Lohmann 7e7760c2ed Add the possibility to have default highlight colors.
Thanks to stargrave@stargrave.org for the suggestion!
12 years ago
Christoph Lohmann adde5c6d9d Adding PgUp + Ctrl.
Thanks stargrave@stargrave.org!
12 years ago
Christoph Lohmann f876810626 Adding PgUp and PgDown + Ctrl to config.def.h
Thanks stargrave@stargrave.org!
12 years ago
Christoph Lohmann a1e3b94b37 Removing an undefined case. just do regular selections. 12 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.
12 years ago
Christoph Lohmann 55adf0aad1 Pange seems to use ascent + descent instead of height.
Thanks Bobby Powers <bobbypowers@gmail.com> for noticing this!
12 years ago
Christoph Lohmann 82494f248d Making st compile on OS X. 12 years ago
Christoph Lohmann c6b89f23e7 Using strsep and fixing null termination in csiparse.
Thanks for the hint from Alexander Sedov <alex0player@gmail.com>!
12 years ago
Christoph Lohmann 1c1621da69 Changing the way how paste is handled, just for the nano people. 12 years ago
Christoph Lohmann 1aa26b4ecd Fixing a bug while parsing empty arguments in csiparse. 12 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!
12 years ago
Christoph Lohmann 7cb0d95509 Using strtok_r for the string parsing. 12 years ago
Christoph Lohmann 37863356b0 Using strtol with overflow checking. 12 years ago