summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authortjp <tjp@ctrl-c.club>2024-01-04 12:47:06 -0700
committertjp <tjp@ctrl-c.club>2024-01-04 12:47:06 -0700
commit684539c70d4b5dfac56e840f46d8dd08821e93d6 (patch)
tree3f6f7e49964879367a511dbb5b568fb1b0ee9c42 /main.go
parent1c96ee6e4c2268f69091aba9b7b3ed0f8515207f (diff)
handle input types
* spartan prompts * gemini [sensitive]input responses * gopher search servers
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 2e88ce6..97cce21 100644
--- a/main.go
+++ b/main.go
@@ -42,6 +42,7 @@ func main() {
state.Readline = rl
for {
+ rl.SetPrompt(Prompt)
line, err := rl.Readline()
if err == io.EOF {
break