Fix a bug causing incorrect line ordering when viewing the scrollback buffer if the scrollback buffer is full
Fixes #960
This commit is contained in:
@@ -30,6 +30,9 @@ Changelog
|
|||||||
hopefully workaround a bug in glfw that causes crashes when unplugging
|
hopefully workaround a bug in glfw that causes crashes when unplugging
|
||||||
monitors with full screen windows. (:iss:`898`)
|
monitors with full screen windows. (:iss:`898`)
|
||||||
|
|
||||||
|
- Fix a bug causing incorrect line ordering when viewing the scrollback buffer
|
||||||
|
if the scrollback buffer is full (:iss:`960`)
|
||||||
|
|
||||||
- Fix drag-scrolling not working when the mouse leaves the window confines
|
- Fix drag-scrolling not working when the mouse leaves the window confines
|
||||||
(:iss:`917`)
|
(:iss:`917`)
|
||||||
|
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ as_ansi(HistoryBuf *self, PyObject *callback) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static inline Line*
|
static inline Line*
|
||||||
get_line(HistoryBuf *self, index_type y, Line *l) { init_line(self, y, l); return l; }
|
get_line(HistoryBuf *self, index_type y, Line *l) { init_line(self, index_of(self, self->count - y - 1), l); return l; }
|
||||||
|
|
||||||
static PyObject*
|
static PyObject*
|
||||||
as_text(HistoryBuf *self, PyObject *args) {
|
as_text(HistoryBuf *self, PyObject *args) {
|
||||||
|
|||||||
Reference in New Issue
Block a user