| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | render: add render_refresh() | Daniel Eklöf | 2019-07-24 | -4/+2 |
| | | ||||
| * | scrollback: limit maximum number of lines one can scrollback at once | Daniel Eklöf | 2019-07-11 | -5/+2 |
| | | ||||
| * | scrollback: fix assertions in debug builds; need to wrap row number | Daniel Eklöf | 2019-07-11 | -2/+2 |
| | | ||||
| * | scrollback: in debug, verify all rows in the view are initialized | Daniel Eklöf | 2019-07-10 | -0/+9 |
| | | ||||
| * | grid: don't pre-allocate the entire grid (with all scrollback lines) | Daniel Eklöf | 2019-07-10 | -2/+2 |
| | | | | | | | | | | | The row array may now contain NULL pointers. This means the corresponding row hasn't yet been allocated and initialized. On a resize, we explicitly allocate the visible rows. Uninitialized rows are then allocated the first time they are referenced. | |||
| * | scrollback: disable debug logging | Daniel Eklöf | 2019-07-10 | -1/+1 |
| | | ||||
| * | scrollback: use term_damage_view() | Daniel Eklöf | 2019-07-10 | -6/+2 |
| | | ||||
| * | scrollback: don't allow more scrolling when already at the top or bottom | Daniel Eklöf | 2019-07-10 | -6/+9 |
| | | ||||
| * | scrollback: fix scrolling outside initialized lines in new terminal | Daniel Eklöf | 2019-07-10 | -0/+10 |
| | | ||||
| * | scrollback: fix off-by-one when grid size matches terminal/window size | Daniel Eklöf | 2019-07-10 | -6/+6 |
| | | ||||
| * | scrollback: don't redraw if view doesn't change | Daniel Eklöf | 2019-07-10 | -0/+8 |
| | | ||||
| * | scrollback: don't scroll past scrollback history | Daniel Eklöf | 2019-07-10 | -4/+31 |
| | | ||||
| * | scrollback: initial support for mouse scrolling | Daniel Eklöf | 2019-07-10 | -9/+25 |
| | | ||||
| * | wip: initial scroll back support | Daniel Eklöf | 2019-07-09 | -0/+61 |
| Can scroll up and down, and stops when the beginning/end of history is reached. However, it probably breaks when the entire scrollback buffer has been filled - we need to detect when the view has wrapped around to the current terminal offset. The detection of when we've reached the bottom of the history is also flawed, and only works when we overshoot the bottom with at least a page. Resizing the windows while in a view most likely doesn't work. The view will not detect a wrapped around scrollback buffer. I.e. if the user has scrolled back, and is stationary at a view, but there is still output being produced. Then eventually the scrollback buffer will wrap around. In this case, the correct thing to do is make the view start following the beginning of the history. Right now it doesn't, meaning once the scrollback buffer wraps around, you'll start seeing command output... | ||||
