Set window dimensions when setting it in a context

This commit is contained in:
Maxime Coste 2015-12-25 07:17:36 +00:00
parent dca9e2b73d
commit c16b9a2ec4

View File

@ -75,6 +75,8 @@ void Context::set_window(Window& window)
{
kak_assert(&window.buffer() == &buffer());
m_window.reset(&window);
if (has_ui())
m_window->set_dimensions(ui().dimensions());
}
void Context::print_status(DisplayLine status) const