summaryrefslogtreecommitdiffstats
path: root/src/screen.c
Commit message (Collapse)AuthorAgeFilesLines
* better fix for empty rowsHEADmasterJesse Luehrs2017-07-191-1/+5
|
* don't leak the alternate buffer if we're using itJesse Luehrs2017-07-191-0/+2
|
* fix finding max col of empty rowsJesse Luehrs2017-07-171-1/+1
|
* add a function to generate response codes for mouse movement eventsJesse Luehrs2017-06-021-0/+123
|
* actually, we probably should support utf8 as a mouse reporting modeJesse Luehrs2017-06-021-4/+9
|
* add accessor functions for which events the mouse reporting bits implyJesse Luehrs2017-06-011-0/+26
|
* implement any-event mouse trackingJesse Luehrs2017-06-011-0/+10
|
* implement origin modeJesse Luehrs2017-06-011-0/+17
|
* actually, remove the wide emoji hacks entirelyJesse Luehrs2017-01-261-6/+1
| | | | | they have been folded into modern versions of glib (>= 2.50.1) as part of unicode 9.0.0
* allow specifying whether or not emoji are wideJesse Luehrs2017-01-251-1/+6
| | | | vim says yes, weechat says no ¯\_(ツ)_/¯
* max col should be extended by one if the last char in the row is wideJesse Luehrs2016-06-061-1/+1
|
* avoid copying around scrollback so oftenJesse Luehrs2016-06-051-6/+9
|
* properly handle zero width charactersJesse Luehrs2016-06-041-17/+11
|
* stop using non-standard escape sequencesJesse Luehrs2016-06-041-1/+1
|
* 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