From d90c19a57d763da0d15c09a785ffce543df27e26 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Wed, 24 Jun 2026 13:07:45 +0200 Subject: [PATCH] convenience tags --- main.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 83daf0e..711c631 100644 --- a/main.go +++ b/main.go @@ -174,7 +174,7 @@ func openChat(sid string) { } w.Name("%s", winName) w.Ctl("cleartag") - w.Fprintf("tag", " Prompt Stop Ctl") + w.Fprintf("tag", " Prompt Stop Ctl Cfg Nudge Usage") cw := &chatWin{win: w, sid: sid} chatWindows.Store(sid, cw) @@ -204,6 +204,12 @@ func (cw *chatWin) eventLoop() { os.WriteFile(filepath.Join(ollie, "s", cw.sid, "ctl"), []byte("stop"), 0644) //nolint:errcheck case "Ctl": openFile(filepath.Join(ollie, "s", cw.sid, "ctl")) + case "Cfg": + openFile(filepath.Join(ollie, "s", cw.sid, "cfg")) + case "Nudge": + os.WriteFile(filepath.Join(ollie, "s", cw.sid, "prompt"), []byte("."), 0644) //nolint:errcheck + case "Usage": + openFile(filepath.Join(ollie, "s", cw.sid, "usage")) default: cw.win.WriteEvent(e) }