aboutsummaryrefslogtreecommitdiffhomepage
path: root/screen.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-14 15:39:53 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-14 15:39:53 -0800
commit295c8f48a6192e25053c5f0366ecfae6bcfa3bdc (patch)
tree41303217dffbff88f90f966b4bbcc72ba80fe3e1 /screen.h
parent4a20febe968e7e63749eaab74626c4a135e9a976 (diff)
Teach screen how to render completion page. Correct spacing in
completion page contents.
Diffstat (limited to 'screen.h')
-rw-r--r--screen.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/screen.h b/screen.h
index 8e23002e..7ff8fb0f 100644
--- a/screen.h
+++ b/screen.h
@@ -109,6 +109,11 @@ public:
{
return line_datas.size();
}
+
+ void append_lines(const screen_data_t &d)
+ {
+ this->line_datas.insert(this->line_datas.end(), d.line_datas.begin(), d.line_datas.end());
+ }
};
/**
@@ -196,7 +201,8 @@ void s_write(screen_t *s,
size_t explicit_len,
const int *colors,
const int *indent,
- size_t cursor_pos);
+ size_t cursor_pos,
+ const screen_data_t *pager_data);
/**
This function resets the screen buffers internal knowledge about