diff options
Diffstat (limited to 'Userland/Applications/Terminal')
-rw-r--r-- | Userland/Applications/Terminal/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Applications/Terminal/main.cpp b/Userland/Applications/Terminal/main.cpp index 200a569125..bc282835f4 100644 --- a/Userland/Applications/Terminal/main.cpp +++ b/Userland/Applications/Terminal/main.cpp @@ -372,6 +372,9 @@ int main(int argc, char** argv) terminal.on_title_change = [&](auto& title) { window->set_title(title); }; + terminal.on_terminal_size_change = [&](auto& size) { + window->resize(size); + }; terminal.apply_size_increments_to_window(*window); window->show(); window->set_icon(app_icon.bitmap_for_size(16)); |