pager history buffer: add config option, keep buffer on resize

This commit is contained in:
Dominique Martinet
2018-09-22 18:02:11 +09:00
parent d0104660c8
commit e08238d5a0
6 changed files with 44 additions and 17 deletions
+2 -2
View File
@@ -185,7 +185,7 @@ typedef struct {
index_type xnum, ynum, num_segments;
HistoryBufSegment *segments;
PagerHistoryBuf pagerhist;
PagerHistoryBuf *pagerhist;
Line *line;
index_type start_of_data, count;
} HistoryBuf;
@@ -262,7 +262,7 @@ const char* base64_decode(const uint32_t *src, size_t src_sz, uint8_t *dest, siz
Line* alloc_line();
Cursor* alloc_cursor();
LineBuf* alloc_linebuf(unsigned int, unsigned int);
HistoryBuf* alloc_historybuf(unsigned int, unsigned int);
HistoryBuf* alloc_historybuf(unsigned int, unsigned int, unsigned int);
ColorProfile* alloc_color_profile();
PyObject* create_256_color_table();
PyObject* parse_bytes_dump(PyObject UNUSED *, PyObject *);