Window: tolerate invisible cursor when it is the end of the buffer
This commit is contained in:
parent
23f72851e4
commit
9fcb89c8fc
|
@ -118,8 +118,11 @@ void Window::scroll_to_keep_cursor_visible_ifn()
|
|||
}
|
||||
column += atom.content.content().length();
|
||||
}
|
||||
if (cursor != buffer().end())
|
||||
{
|
||||
// the cursor should always be visible.
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
String Window::status_line() const
|
||||
|
|
Loading…
Reference in New Issue
Block a user