foreseen

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

commit b6a6e96cb21d4573621e75e6085aeb2a94aec43e
parent 83ed0ef5371351cea353e4cccb6223da219bcb2a
Author: Andrew Laack <andrew@laack.co>
Date:   Tue, 29 Sep 2026 18:55:03 -0500

Fix issue where open -> input didn't render the prompt right away

Diffstat:
Msrc/render.cpp | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/render.cpp b/src/render.cpp @@ -174,9 +174,7 @@ void draw(DrawState& ds) { } } - refresh(); - } void openPageHandler(DrawState& ds, int sel) { @@ -309,6 +307,7 @@ bool mainLoop(DrawState& ds, Browser& b, int input) { } ds.openOtherInput = ""; } + mainLoop(ds, b, KEY_RESIZE); } else { auto* clk = b.getCurrentLink(); ds.header = clk->getLinkDestination().to_string(); @@ -401,6 +400,5 @@ bool mainLoop(DrawState& ds, Browser& b, int input) { } draw(ds); - refresh(); return true; }