aboutsummaryrefslogtreecommitdiffstats
path: root/src/display.c
Commit message (Collapse)AuthorAgeFilesLines
* fix off by one errorJesse Luehrs2017-07-151-2/+8
|
* don't call memcmp on nullJesse Luehrs2017-07-151-0/+5
|
* avoid an allocation on every glyph string drawJesse Luehrs2017-02-121-10/+17
| | | | | probably not super meaningful compared to the cost of the cairo operations, but may as well
* optimize drawing sequences of ascii charactersJesse Luehrs2017-02-121-12/+114
| | | | bypasses pango for this common case, which should speed up drawing
* only clear the selection if the contents changedJesse Luehrs2017-02-111-1/+16
|
* optimize drawing of runs of empty cellsJesse Luehrs2017-02-111-43/+64
|
* optimize runes_display_continue_string a bitJesse Luehrs2017-02-111-10/+5
| | | | | continuing is the common case, so this trades two compare+branches for two ORs and a NOT
* allow storing reversed start/end for selectionsJesse Luehrs2016-06-051-7/+8
| | | | | | | only ensure they're in the right order when pulling the selection text out of it, but leave it reversed otherwise (or else selecting behind the initial starting point will actually move the starting point of the selection, which is wrong)
* have the display own the entire selectionJesse Luehrs2016-06-051-0/+29
| | | | rather than just the selection location
* fix a memory leakJesse Luehrs2016-05-101-0/+2
|
* refactor how submodules are handledJesse Luehrs2016-05-101-2/+9
| | | | | | let them own their own memory, so that they can free themselves once they exit the loop. also split out the parts of the terminal that we only want to initialize once, even if we open multiple terminal windows
* fix rendering of narrow glyphs and glyphs of the wrong heightJesse Luehrs2016-05-101-1/+4
|
* fix selection renderingJesse Luehrs2016-05-101-2/+25
|
* these don't need to be publicJesse Luehrs2016-05-101-60/+62
|
* fix glyphs in monospace fonts that are mysteriously not monospaceJesse Luehrs2016-05-091-1/+19
| | | | | really i should figure out how to scale these down, but this is sufficient for now
* draw entire contiguous strings at a timeJesse Luehrs2016-05-091-53/+127
| | | | a lot faster than drawing all individual glyphs
* simplifyJesse Luehrs2016-05-081-12/+11
|
* simplifyJesse Luehrs2016-05-081-17/+15
|
* fix redrawing the window under the cursor after it movesJesse Luehrs2016-05-081-2/+16
|
* use cairo groups instead of writing the double-buffering code myselfJesse Luehrs2016-05-081-50/+18
| | | | pretty much equivalent, but a lot simpler
* stop including term.h in runes.hJesse Luehrs2016-05-071-0/+1
|
* use pointer indirection to separate source files even moreJesse Luehrs2016-05-071-44/+45
|
* be a bit more explicit about dependencies between modulesJesse Luehrs2016-05-071-0/+1
|
* split up some unnecessary cross-module dependenciesJesse Luehrs2016-05-071-8/+1
|
* clear the selection if we update the screenJesse Luehrs2016-05-061-0/+4
| | | | | | | would be nice to only clear it if we update the selected part of the screen, but that's hard currently (we don't know what parts of the screen are updated at any point since we just redraw everything every time anything changes)
* track dirty display separate from dirty screenJesse Luehrs2016-05-061-1/+3
|
* display the cursor for wide characters properlyJesse Luehrs2016-05-031-5/+10
|
* use the libvt100 libraryJesse Luehrs2015-08-201-13/+74
|
* draw the selected region as inverseJesse Luehrs2014-07-041-2/+7
|
* flush calls draw_screen, not the other way aroundJesse Luehrs2014-05-061-1/+0
|
* more refactoringJesse Luehrs2014-05-041-42/+54
|
* refactorJesse Luehrs2014-05-041-4/+4
|
* draw the correct size box for the cursorJesse Luehrs2014-05-041-1/+1
|
* lift this field access out of a tight loopJesse Luehrs2014-05-041-4/+5
|
* refactor to make alternate screens work againJesse Luehrs2014-05-041-7/+7
|
* draw the cursor in the right place when scrollingJesse Luehrs2014-05-041-3/+6
|
* implement scrollingJesse Luehrs2014-05-041-1/+1
|
* keep a scrollback buffer when we scroll downJesse Luehrs2014-05-041-2/+2
|
* avoid redrawing when we haven't touched the screenJesse Luehrs2014-05-021-0/+6
|
* implement window resizing (again)Jesse Luehrs2014-04-301-6/+1
|
* move config stuff out to a separate structJesse Luehrs2014-04-301-13/+13
|
* these are no longer usedJesse Luehrs2014-04-281-6/+0
|
* make the cursor color configurableJesse Luehrs2014-04-281-3/+0
|
* stop drawing a transparent cursorJesse Luehrs2014-04-271-3/+38
|
* handle wide charactersJesse Luehrs2014-04-251-6/+11
|
* implement rgb colorsJesse Luehrs2014-04-251-7/+20
|
* implement inverseJesse Luehrs2014-04-251-0/+12
|
* handle bold_is_brightJesse Luehrs2014-04-251-2/+8
|
* bold/italic/underlineJesse Luehrs2014-04-251-5/+20
|
* refactorJesse Luehrs2014-04-251-4/+4
|