commit | 5e01b6d663abc086847c9bec145edeb9cd91530a | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Sat Aug 08 13:29:27 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Sat Aug 08 13:29:27 2009 +0000 |
tree | a8708ca5f4a199352452945133a6fc11af807e08 | |
parent | e89e70e71575417195285a3ea55c430654f9fc21 [diff] |
Change the way the grid is stored, previously it was: - a two-dimensional array of cells; - a two-dimensional array of utf8 data; - an array of line lengths. Now it is a single array of a new struct grid_line each of which represents a line and containts the length and an array of cells and an array of utf8 data. This will make it easier to add additional per-line members, such as flags.