commit ad93ca146a5b32ac2c9a293a452c76fd307ac424
parent 28862e2fb16e2770ef44dbf265d7f27f2350d4c1
Author: Andrew Laack <andrew@laack.co>
Date: Thu, 1 Oct 2026 19:27:36 -0500
Fix addl. copy
Diffstat:
3 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/TODO.txt b/TODO.txt
@@ -172,9 +172,23 @@
- imports
- tests
- remove useless ones
+- resetting y value on screen moves
---
Bug:
- can't open localhost from the 'o' menu
+
+---
+
+- most pressing: cli argument for configuration
+ - should be able to disable prefetching, set cache size, set defaults, stuff like that.
+- put all colors into shared.hpp
+ - what should be the approach for configuration?
+ - should I just say update the shared.hpp file?
+
+---
+
+- cli arguments with editable source code for defaults
+- add phony file
diff --git a/benchmarking/render-bench.cpp b/benchmarking/render-bench.cpp
@@ -83,7 +83,7 @@ TEST_CASE("Benchmarking large file scrolling", "[.]") {
}
-TEST_CASE("Benchmarking small file") {
+TEST_CASE("Benchmarking small file", "[.]") {
setenv("EDITOR", "test" , 1);
diff --git a/src/utils.cpp b/src/utils.cpp
@@ -285,8 +285,7 @@ std::vector<std::pair<std::string, TextRender>> breakLines(std::vector<std::pair
lastSpace = -1;
}
- std::string cp = cstr;
- current.append(cp, x, len);
+ current.append(cstr, x, len);
curWidth += w;
if(cstr[x] == ' ') {
lastSpace = current.size() - 1;