Set window dimensions when setting it in a context
This commit is contained in:
parent
dca9e2b73d
commit
c16b9a2ec4
|
@ -75,6 +75,8 @@ void Context::set_window(Window& window)
|
||||||
{
|
{
|
||||||
kak_assert(&window.buffer() == &buffer());
|
kak_assert(&window.buffer() == &buffer());
|
||||||
m_window.reset(&window);
|
m_window.reset(&window);
|
||||||
|
if (has_ui())
|
||||||
|
m_window->set_dimensions(ui().dimensions());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Context::print_status(DisplayLine status) const
|
void Context::print_status(DisplayLine status) const
|
||||||
|
|
Loading…
Reference in New Issue
Block a user