diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-06-13 19:00:29 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-07-18 12:53:41 +0200 |
commit | 28622e8f5b28412d97bf2f3a5df49c419be1e2c5 (patch) | |
tree | b41b43667333ef63d368ff29949e5b7be5f21e65 /.ycm_extra_conf.py | |
parent | 952f4b59592088f15615eb404c828aaac31bfe82 (diff) |
terminal: add page handling for terminals
The page-layer is a one-dimensional array of lines. Combined with the
one-dimensional lines, you get a two-dimensional page. However, both
implementations, lines and pages only deal with their own dimension. That
means, lines don't know anything about other lines, and pages don't know
anything about cells.
Apart from pages, this also introduces history objects. A history object
is a scroll-back buffer. As some pages like alt-buffers don't have
histories, we keep them separate.
Pages itself forward all cell-related operations to the related line. Only
line-related operations are directly handled by the page. This is mostly
scrolling and history. To support proper resizing, we also keep a
fill-state just like lines do for cells.
Diffstat (limited to '.ycm_extra_conf.py')
0 files changed, 0 insertions, 0 deletions