warp cursor within scroll range on window resize
This commit is contained in:
parent
7df23e971e
commit
c2166b4bd1
@ -381,6 +381,7 @@ void Window::resize()
|
||||
if (m_columns < 1)
|
||||
m_columns = 1;
|
||||
m_rows = (m_height + m_font.get_line_height() - 1) / m_font.get_line_height();
|
||||
update_cursor_row(m_cursor_row);
|
||||
}
|
||||
|
||||
void Window::redraw()
|
||||
|
Loading…
x
Reference in New Issue
Block a user