summaryrefslogtreecommitdiffstats
path: root/src/screen.c
Commit message (Collapse)AuthorAgeFilesLines
* track dirty at the row/cell level in addition to the full screendirty-cellsJesse Luehrs2016-05-121-42/+33
| | | | still not great (especially when scrolling), but should help?
* simplifyJesse Luehrs2016-05-071-12/+15
|
* not sure why i was putting explicit spaces hereJesse Luehrs2016-05-071-4/+2
|
* allow the cursor to go off the end of the lineJesse Luehrs2016-05-071-17/+17
| | | | | | | | | | vt100_screen_move_to clamps the cursor to being within the screen, but when drawing text to the screen, the cursor is allowed to move to one past the last column, and not wrap until the next character is written (in this case, the cursor is still drawn in the last column, but the internal terminal state is different). updating the row and column manually allows us to position the column outside of the normal bounds (which we otherwise don't want to allow vt100_screen_move_to to do).
* handle moving and scrolling separatelyJesse Luehrs2016-05-041-27/+31
| | | | | | | only lf/ri should be scrolling, and only if they start on the border of the scroll region and try to move off of it. also, all absolute movement should be absolute in the context of the full terminal, but relative vertical movement should be clamped to the scroll regions.
* apparently setting the scroll region shouldn't actually move the cursorJesse Luehrs2016-05-041-2/+0
|
* recognize most emoji as wideJesse Luehrs2016-05-031-1/+1
|
* don't leave the outparam uninit if we bail out earlyJesse Luehrs2016-05-031-0/+1
|
* Revert "keep track of scrollback when scrolling"Jesse Luehrs2015-08-201-28/+5
| | | | This reverts commit 7a8324949027d7ece88af525f8ae7fe67b379e72.
* keep track of scrollback when scrollingJesse Luehrs2015-08-201-5/+28
|
* make this publicJesse Luehrs2015-08-201-15/+14
|
* SU and SD were reversed from my scroll_up and scroll_down meaningsJesse Luehrs2014-10-211-35/+35
|
* remove outdated commentJesse Luehrs2014-10-211-2/+0
|
* implement scroll up and scroll down escape sequencesJesse Luehrs2014-10-211-104/+102
|
* in fact, only line feed/reverse line feed should cause scrollingJesse Luehrs2014-10-201-8/+12
| | | | aside from displaying text, of course
* fix off by one errorJesse Luehrs2014-10-201-2/+2
|
* normalization may change the length of the utf8 sequenceJesse Luehrs2014-10-201-0/+1
|
* don't add an extra space after wide charactersJesse Luehrs2014-10-181-5/+9
|
* implement ECHJesse Luehrs2014-10-171-0/+21
|
* hide the parser stateJesse Luehrs2014-09-171-5/+13
| | | | | | this shouldn't be public (none of the parser stuff should be), but the way i was doing before with redefining certain types from parser.h was causing warnings on clang.
* these mouse reporting modes are probably also worthwhile to supportJesse Luehrs2014-09-171-0/+20
| | | | | this doesn't really affect anything, but it'll be useful for runes eventually
* split get_string into get_string_plaintext and get_string_formattedJesse Luehrs2014-09-161-72/+163
|
* writing over the second half of a wide character should clear itJesse Luehrs2014-09-161-4/+28
|
* there's not really a purpose to maintain the selection hereJesse Luehrs2014-09-161-62/+0
| | | | the terminal can't do anything with it, it's only useful at the x layer
* stop hardcoding the default scrollback lengthJesse Luehrs2014-09-141-2/+9
|
* allow specifying a size to resize toJesse Luehrs2014-09-141-9/+9
| | | | | this used to just calculate it manually from the size of the x window, but we don't have that now
* whoops, already had this functionJesse Luehrs2014-09-131-7/+1
|
* heh, oopsJesse Luehrs2014-09-131-2/+2
|
* add a function to get a cell at a given row and columnJesse Luehrs2014-09-131-0/+5
|
* add functions to allocate memory for the screen tooJesse Luehrs2014-09-131-0/+16
|
* initial commit, splitting this out from runesJesse Luehrs2014-09-131-0/+959