diff --git a/CMakeLists.txt b/CMakeLists.txt index bbf97a3..81ed601 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(kte) include(GNUInstallDirs) set(CMAKE_CXX_STANDARD 20) -set(KTE_VERSION "1.5.4") +set(KTE_VERSION "1.5.5") # Default to terminal-only build to avoid SDL/OpenGL dependency by default. # Enable with -DBUILD_GUI=ON when SDL2/OpenGL/Freetype are available. diff --git a/main.cc b/main.cc index adc2290..5e22b3e 100644 --- a/main.cc +++ b/main.cc @@ -305,6 +305,7 @@ main(int argc, const char *argv[]) return 1; } + Execute(editor, CommandId::CenterOnCursor); bool running = true; while (running) {