Commit Diff


commit - 7cdfd123610140ef1752a3eb3a68469bbc0f52ae
commit + b10ba33158d0b4b0454610a76db67e278f909956
blob - 53001f2d990bf1349c439b777bf78d781e44cad2
blob + c734a08cba71dcbc23e29f39560ebcd7f0b1045f
--- telescope.c
+++ telescope.c
@@ -519,6 +519,14 @@ handle_imsg_eof(struct imsg *imsg, size_t datalen)
 		    !strncmp(h, "gopher://", 9) ||
 		    !strncmp(h, "finger://", 9))
 			mcache_tab(tab);
+
+		/*
+		 * Gemini is handled as soon as a 2x reply is got.
+		 */
+		if (!strncmp(h, "finger://", 9) ||
+		    !strncmp(h, "gopher://", 9))
+			history_add(h);
+
 		ui_on_tab_refresh(tab);
 		ui_on_tab_loaded(tab);
 	} else {