foreseen

A text-based gemini browser with prefetching.
git clone git://git.laack.co/foreseen.git
Log | Files | Refs | README | LICENSE

commit 78eceb30b05b7e5bf195744a00f091e219103028
parent 1a7ab523a42130f06bb01bd5b36dab625a1fe6c5
Author: Andrew Laack <andrew@laack.co>
Date:   Thu, 24 Sep 2026 21:23:26 -0500

Remove un-used deps, replace clear with erase to get rid of flickering

Diffstat:
Msrc/main.cpp | 4+---
Msrc/utils.cpp | 1-
2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/main.cpp b/src/main.cpp @@ -1,6 +1,4 @@ #include "../include/browser.hpp" -#include <iostream> -#include <malloc.h> #include "../include/utils.hpp" #include <algorithm> #include <cstddef> @@ -97,7 +95,7 @@ void drawInputBox(std::string text, std::string userInput) { void draw(DrawState ds) { - clear(); + erase(); move(0,(COLS / 2) - (ds.header.size() / 2) ); attron(A_BOLD); diff --git a/src/utils.cpp b/src/utils.cpp @@ -15,7 +15,6 @@ #include <iomanip> #include <ios> #include <iostream> -#include <linux/limits.h> #include <regex> #include <sstream> #include <string>