pager history buffer: implement rewrap

rewarp the buffer the first time it is displayed after the window
changed
This commit is contained in:
Dominique Martinet
2018-09-22 19:10:09 +09:00
parent 10b15caad9
commit 3d862da2be
2 changed files with 73 additions and 23 deletions
+1
View File
@@ -178,6 +178,7 @@ typedef struct {
Py_UCS4 *buffer;
index_type start, end;
index_type bufend;
bool rewrap_needed;
} PagerHistoryBuf;
typedef struct {