Aleksandar Popadić
a3e67d8567
Fix a boundary case for wrap off
...
Test Plan: vttest, 2 -> the last "*" is missing
Reviewers: billiob
Differential Revision: https://phab.enlightenment.org/D411
2013-12-25 12:03:21 +01:00
Aleksandar Popadić
d0c6c1d457
Rewrite reflow on resize
...
Summary:
simplify code (treat every resize as a single case) and fill the lines
from the bottom up
Reviewers: billiob
Differential Revision: https://phab.enlightenment.org/D355
2013-12-01 19:47:12 +01:00
Boris Faure
509a5d1a7b
fix scrolling with selection on irssi in tmux. Closes T404
2013-11-18 22:30:26 +01:00
Boris Faure
f8edf059d4
fix scrolling bug. Closes T106
...
Was fixed with help from great bug report by thomasg.
scroll_rev was ok
2013-11-17 17:28:32 +01:00
Boris Faure
2fcdd866ad
remove debug =]
2013-11-14 23:10:08 +01:00
Boris Faure
8c7dab9fdf
remove selection when content selected changes
2013-11-11 18:08:02 +01:00
Boris Faure
bc15fc6ff6
keep selection when scrolling
2013-11-10 22:13:19 +01:00
Cedric Bail
964e1f39a9
terminology: factorise some code and help the compiler figure out which branch is the most likely one.
2013-10-28 18:55:53 +09:00
Boris Faure
604a9abd85
compat: fix scrolling not clearing some text
...
Test case was provided by weechat.
2013-06-09 12:03:52 +02:00
Boris Faure
f5cad4ff7f
compat: only clear cells when scrolling to add text
...
and to delete lines, but not when just moving the cursor
2013-06-09 12:03:51 +02:00
Carsten Haitzler
5549fc05a0
add compressed backscroll to terminology...
...
we get about 0.35-0.4 or so ratio of compression. it also now
defragments memory used for backscroll and holed it in mmaped blocks
so when the blocks go all memory goes used for backscroll.
2013-05-05 23:10:44 +09:00
Carsten Haitzler
3fc3ce4c79
add whitepsace debug mode and termsave abstraction infra.
2013-05-04 11:45:45 +09:00
Boris Faure
b6d2b1b4ad
revert a bunch of commits that weren't ready for prime time
...
664c5a23: Revert "compat: csi parameters are always decimal"
3694c88c: Revert "compat: handle cursor-controls chars in ESC sequences"
16e143f9: Revert "compat: add margin top support on Origin mode"
4daccf1f: Revert "compat: add ugly testing code to change between 80/132 cols"
d5be8a64: Revert "add termio_win_get();"
cff21ea5: Revert "compat: only clear cells when scrolling to add text"
13a11e5a: Revert "compat: add some csi dec private modes TODOs"
65f07f77: Revert "handle DCS status string requests"
2013-05-02 10:33:39 +02:00
Boris Faure
cff21ea5b8
compat: only clear cells when scrolling to add text
...
and to delete lines, but not when just moving the cursor
2013-04-21 21:51:07 +02:00
Carsten Haitzler
6ad334c864
zero out fmt bits for dbl width chars for spare cell.
2013-04-15 23:54:47 +09:00
Boris Faure
b749acfc3c
reflow: use termpty_cell_copy() instead of memcpy()
...
Also get rid of _termpty_text_copy().
2013-04-12 22:13:17 +02:00
Boris Faure
0556318761
reflow: change _text_save_top() termpty_text_save_top()
...
also change prototype
2013-04-12 22:13:16 +02:00
Boris Faure
852400f039
reflow: correctly set line length when pushing to backscroll
2013-04-12 22:13:16 +02:00
Boris Faure
8e9443a58c
fix clearing screen till the end
2013-04-08 18:26:58 +02:00
Boris Faure
193d308093
clear text with codepoint 0 instead of space
2013-03-17 21:39:14 +01:00
Boris Faure
081f27552b
fix clearing lines with circular buffer.
...
Fixes #2263 .
SVN revision: 84004
2013-02-16 18:16:25 +00:00
Carsten Haitzler
19ee5d50b1
fix spinning - blinking curaor from cmdbox entry.... only create when
...
needed and delete when not. :)
SVN revision: 83613
2013-02-04 21:12:41 +00:00
Carsten Haitzler
0015767f4b
tidy yp tycat - handle edj and mp3/audio files - ahare extensions
...
handling and filtering, actually free tup termblocks when no longer
referenced without needing a gc, etc. ...
SVN revision: 83441
2013-01-29 15:54:47 +00:00
Boris Faure
f820185c7e
terminology: fix clear screen
...
SVN revision: 83309
2013-01-24 21:29:49 +00:00
Cedric BAIL
f32da4a10e
terminology: just push a stupid micro optimization to just be below urxvt.
...
SVN revision: 83120
2013-01-23 05:11:29 +00:00
Cedric BAIL
e36295ce3e
terminology: improve speed of text scrolling by using a circular buffer.
...
SVN revision: 83038
2013-01-21 14:02:32 +00:00
Cedric BAIL
548e12472e
terminology: revert previous commit at it is not ready yet for primetime.
...
SVN revision: 83013
2013-01-20 10:48:17 +00:00
Cedric BAIL
61576f1496
terminology: use a circular buffer for the screen.
...
SVN revision: 83012
2013-01-20 10:15:47 +00:00
Boris Faure
4b64f43863
terminology: fix potential segfault when writing after end of line
...
SVN revision: 78619
2012-10-29 19:02:40 +00:00
Boris Faure
7d01e6ad09
terminology: reset scroll state on "clear all"
...
SVN revision: 78070
2012-10-16 19:38:32 +00:00
Cedric BAIL
48f15f3850
terminology: revert r77987 as it break htop.
...
SVN revision: 78039
2012-10-16 07:56:27 +00:00
Boris Faure
b605dfa84b
terminology: reset scroll markers once done
...
SVN revision: 77987
2012-10-15 08:18:27 +00:00
Boris Faure
41c7edd9d9
terminology: revert 77549,77551 about fixing a vim issue.
...
Will investigate further.
SVN revision: 77616
2012-10-09 07:47:24 +00:00
Boris Faure
39d2fea874
terminology: add missing parentheses
...
SVN revision: 77551
2012-10-06 20:53:45 +00:00
Boris Faure
e097c4c8af
terminology: fix vim issue
...
SVN revision: 77549
2012-10-06 20:23:20 +00:00
Carsten Haitzler
197e0bbf46
splut up termpty a lot. still escape handling is the largest bit -
...
1200 lines or so, but not a lot that canbe done about that as its the
smallest really logical unit there.
SVN revision: 73798
2012-07-13 08:46:33 +00:00