aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
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;