aboutsummaryrefslogtreecommitdiffstats
path: root/tests/scroll.rs
Commit message (Collapse)AuthorAgeFilesLines
* allow getting a mutable screen, and move some operations thereJesse Luehrs2023-03-091-10/+10
|
* clean up clippy stuffJesse Luehrs2021-12-131-1/+0
|
* handle scrolling outside of a scroll regionJesse Luehrs2021-12-031-64/+4
| | | | | | it shouldn't scroll the scroll region if you wrap off the end of the whole terminal outside of the scroll region. also, that kind of non-wrap shouldn't set the wrap flag
* remove remaining unnecessary lint flagsJesse Luehrs2019-12-061-2/+1
|
* remove parser.screen_mutJesse Luehrs2019-11-121-10/+10
| | | | | | it's easier to reason about if you are only able to get an immutable reference to the internal screen. this also required changing the api for bells.
* actually, i do need to disable this in each testJesse Luehrs2019-11-111-0/+2
|
* allow cognitive_complexity everywhereJesse Luehrs2019-11-111-1/+0
|
* add Default impl for ParserJesse Luehrs2019-11-101-3/+3
|
* remove the scroll_to and scroll_pos methodsJesse Luehrs2019-11-101-28/+28
| | | | | they are unnecessary, you can just call the methods on the screen object directly
* optimize cursor movement a bitJesse Luehrs2019-11-101-0/+18
|
* implement scrolling backJesse Luehrs2019-11-091-0/+84
|
* optionally save scrollback rowsJesse Luehrs2019-11-091-2/+2
|
* ignore the scroll region when moving if we're already outside of itJesse Luehrs2019-11-081-0/+3
|
* VPA should not be restricted to the scroll regionJesse Luehrs2019-11-081-0/+4
| | | | since it is absolute positioning
* adjust the way window contents are reportedJesse Luehrs2019-11-051-5/+5
| | | | | | | | | | | | | | | | contents and contents_formatted now only allow getting the entire terminal contents, and for any other uses we now provide rows and rows_formatted. the reasoning here is that it wasn't particularly useful to return newline (or crlf) separated lines when not drawing the full terminal, since it's not like you can send those to the terminal in any meaningful way anyway (like, if you wanted to draw a subset of the terminal state, you'll almost certainly need to be doing explicit positioning on your own, since crlf is only actually correct if you're drawing the screen subset in the upper left hand corner of the screen). with this, you can draw each (subset of a) line individually, and reposition the cursor in whatever way makes sense in between drawing the lines.
* expose the screen separately from the parserJesse Luehrs2019-11-051-41/+41
|
* more useful contents/contents_formatted behaviorJesse Luehrs2019-11-041-5/+5
|
* more testsJesse Luehrs2019-11-031-0/+9
|
* rename some methodsJesse Luehrs2019-11-031-5/+5
|
* implement origin modeJesse Luehrs2019-11-021-1/+31
|
* basic structure of vte parserJesse Luehrs2019-10-291-12/+9
|
* start the rewriteJesse Luehrs2019-10-291-2/+0
|
* add a bunch of testsJesse Luehrs2016-04-281-0/+30