Skip to content
Commit 741a173c authored by Christian Persch's avatar Christian Persch
Browse files

lib: Add grid coordinate and span types

Add vte::grid:coords to hold a (column, row) pair, and vte::grid::span
to hold a pair of (start, end) coordinates.

They will be used to replace passing separate (column, row) pairs around
in arguments and data structures.

Also contains tests for the member functions, and static assertion
to test the size of these structs, and ensure they are and stay POD.
parent af103480
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment