From 0d3a1b59555a25fdf564a4728272183a73e0192c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 11 Jun 2018 14:44:58 +1000 Subject: 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 --- src/display_buffer.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/display_buffer.hh') 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; }; } -- cgit v1.2.3