summaryrefslogtreecommitdiff
path: root/Userland/Applications/Terminal
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-12-06 21:35:32 +0000
committerAndreas Kling <kling@serenityos.org>2022-12-07 11:48:27 +0100
commit27fae783359ece05400dcbee66c50fee97cd1b0b (patch)
tree7918baf077884d287a8dce3ad7ccad9f9d1aaaf0 /Userland/Applications/Terminal
parente011eafd3790ca0375a4678a9cb2debd0ae95ac7 (diff)
downloadserenity-27fae783359ece05400dcbee66c50fee97cd1b0b.zip
Meta+Userland: Pass Gfx::IntSize by value
Just two ints like Gfx::IntPoint.
Diffstat (limited to 'Userland/Applications/Terminal')
-rw-r--r--Userland/Applications/Terminal/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Terminal/main.cpp b/Userland/Applications/Terminal/main.cpp
index 66fdaad891..0f6f7bea0c 100644
--- a/Userland/Applications/Terminal/main.cpp
+++ b/Userland/Applications/Terminal/main.cpp
@@ -302,7 +302,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
terminal->on_title_change = [&](auto title) {
window->set_title(title);
};
- terminal->on_terminal_size_change = [&](auto& size) {
+ terminal->on_terminal_size_change = [&](auto size) {
window->resize(size);
};
terminal->apply_size_increments_to_window(*window);