diff options
| author | Aakarsh Kashyap <[email protected]> | 2026-06-29 12:19:45 +0530 |
|---|---|---|
| committer | Aakarsh Kashyap <[email protected]> | 2026-06-29 12:19:45 +0530 |
| commit | 119e47338ef9b0adea7b584239f9f6911e4da5cb (patch) | |
| tree | 89a91d60c68f0a2265fc2ccec753f98972908f98 /src/main.cpp | |
| parent | 19df8e77977f634064aed3c0332d1b0fc56e158b (diff) | |
Added screen centering feature
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 10c3df6..97e9dce 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,4 @@ -#include "reader.h" +#include "../include/reader.h" int main(int argc, char *argv[]) { try { @@ -44,6 +44,7 @@ int main(int argc, char *argv[]) { while(1) { for (std::string &k: data) { if (k.empty()) continue; + window_size_callback(cfg); editor_refresh_scrn(cfg); int mid = k.size() / 2; |
