diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-06-11 14:44:58 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-06-11 15:10:30 +1000 |
| commit | 0d3a1b59555a25fdf564a4728272183a73e0192c (patch) | |
| tree | 75785e31a7c9a74da94a5994b8b6c800d1719780 /src/display_buffer.hh | |
| parent | df90ba598470fe722ac6322fff43928f07782c59 (diff) | |
Try to keep window position fixed when buffer gets modified
Adapt window position to the changes that happened in the buffer
since last redraw.
Fixes #1989
Diffstat (limited to 'src/display_buffer.hh')
| -rw-r--r-- | src/display_buffer.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display_buffer.hh b/src/display_buffer.hh index ea945da1..3955ec25 100644 --- a/src/display_buffer.hh +++ b/src/display_buffer.hh @@ -169,7 +169,7 @@ public: private: LineList m_lines; BufferRange m_range; - size_t m_timestamp; + size_t m_timestamp = -1; }; } |
