A cross-platform, OpenGL terminal emulator.
Go to file
Joe Wilm 8126841ed3
Add support for scrolling regions
It's now possible to move around within Vim without the screen becoming
corrupt!

The ANSI parser now calls a (new) `set_scrolling_region` on the handler
when the DECSTBM CSI is received. In order to provide a sensible default
in case that the sequence doesn't include arguments, a TermInfo trait
was added which currently has methods for inspecting number of rows and
columns. This was added as an additional trait instead of being included
on Handler since they have semantically different purposes. The tests
had to be updated to account for the additional trait bounds.

The utilities module now has a `Rotate` trait which is implemented for
the built-in slice type. This means that slices and anything derefing to
a slice can be rotated. Since VecDeque doesn't support slicing (it's
a circular buffer), the grid rows are now held in a Vec to support
rotation.

For ergomomic access to the grid for scrolling and clearing regions,
additional Index/IndexMut implementations were added to the grid::Row
type.

Finally, a `reset` method was added to `Cell` which properly resets the
state to default (instead of just clearing the char). This supports
region clearing and also fixed a bug where cell backgrounds would remain
after being cleared.
2016-06-08 10:39:49 -07:00
docs Add Summary of ANSI standards for ASCII terminals 2016-05-28 08:39:36 -07:00
res Add support for drawing background colors 2016-06-06 16:54:15 -07:00
src Add support for scrolling regions 2016-06-08 10:39:49 -07:00
.gitignore Initialize new cargo binary project 2016-02-21 08:15:41 -08:00
.travis.yml Add test font for travis 2016-02-21 19:56:31 -08:00
Cargo.lock Add support for drawing background colors 2016-06-06 16:54:15 -07:00
Cargo.toml Add support for drawing background colors 2016-06-06 16:54:15 -07:00
LICENSE-APACHE Add license 2016-02-23 20:59:31 -08:00
TASKS.md Update task list 2016-06-06 14:59:45 -07:00
build.rs Correct sub-pixel font rendering with OpenGL 2016-05-20 21:36:28 -07:00