diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-13 16:41:22 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-01-13 16:41:22 -0800 |
commit | 899dafb33fec62ed9258f2b65e2330a2cd483ab5 (patch) | |
tree | b4efbfe1fa46e955771c62d0680f59667511ced2 /screen.h | |
parent | 104cf87b895d11202e70268dc9bc88b07c204e09 (diff) |
Migrating new pager implementation into a class. Further work on
constructing a screen_data_t from it.
Diffstat (limited to 'screen.h')
-rw-r--r-- | screen.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -54,6 +54,12 @@ struct line_t { return colors.at(idx); } + + void append_line(const line_t &line) + { + text.insert(text.end(), line.text.begin(), line.text.end()); + colors.insert(colors.end(), line.colors.begin(), line.colors.end()); + } }; |