diff --git a/src/main.cc b/src/main.cc index 8eb7e816..32ed0c0c 100644 --- a/src/main.cc +++ b/src/main.cc @@ -405,7 +405,7 @@ int run_filter(StringView keystr, memoryview files) { try { - InputHandler input_handler{{ buffer, Selection{} }}; + InputHandler input_handler{{ buffer, Selection{{0,0}, buffer.back_coord()} }}; for (auto& key : keys) input_handler.handle_key(key);