From 61ea8130bd221d06c2276f93da5edffdb0d3a2e7 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 1 Feb 2026 20:36:15 +0200 Subject: Update content for html --- .../2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html | 6 ++++-- gemfeed/atom.xml | 10 +++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'gemfeed') diff --git a/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html b/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html index 112691fd..1cd95e5a 100644 --- a/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html +++ b/gemfeed/2026-02-02-tmux-popup-editor-for-cursor-agent-prompts.html @@ -275,7 +275,7 @@ main "$@"

Test cases (for a future rewrite)



@@ -294,7 +294,9 @@ main "$@"
One caveat: different agents draw different prompt UIs, so the capture logic depends on the prompt shape. A future version of this script should be more modular in that respect; for now this is just a PoC tailored to Cursor Agent.

-If I get a chance, I'll clean it up and rewrite it in Go (and release it properly). For now, I am happy with this little hack. It already feels like a native editing workflow for Cursor Agent prompts.
+Another thing is, what if Cursor decides to change the design of its TUI? I would need to change my script as well.
+
+If I get a chance, I'll clean it up and rewrite it in Go (and release it properly or include it into Hexai, another AI related tool of mine, of which I haven't blogged about yet). For now, I am happy with this little hack. It already feels like a native editing workflow for Cursor Agent prompts.

E-Mail your comments to paul@nospam.buetow.org :-)

diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 86db1b25..417fd5fb 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2026-02-01T20:24:16+02:00 + 2026-02-01T20:35:25+02:00 foo.zone feed To be in the .zone! @@ -20,6 +20,8 @@

A tmux popup editor for Cursor Agent prompts



+Published at 2026-02-01T20:24:16+02:00
+
...and any other TUI based application

Table of Contents


@@ -280,7 +282,7 @@ main "$@"
  • Getting the right target pane was the first hurdle. I ended up storing the pane id in a file because of tmux format expansion quirks.
  • The Cursor UI draws a nice box around the prompt, so the prompt line contains a and other markers. I had to filter those out and strip the box-drawing characters.
  • -
  • When I prefilled text and then sent it back, I sometimes duplicated the prompt. Stripping the prefilled prompt text from the first line fixed that.
  • +
  • When I prefilled text and then sent it back, I sometimes duplicated the prompt. Stripping the prefilled prompt text from the submitted text fixed that.

Test cases (for a future rewrite)



@@ -299,7 +301,9 @@ main "$@"
One caveat: different agents draw different prompt UIs, so the capture logic depends on the prompt shape. A future version of this script should be more modular in that respect; for now this is just a PoC tailored to Cursor Agent.

-If I get a chance, I'll clean it up and rewrite it in Go (and release it properly). For now, I am happy with this little hack. It already feels like a native editing workflow for Cursor Agent prompts.
+Another thing is, what if Cursor decides to change the design of its TUI? I would need to change my script as well.
+
+If I get a chance, I'll clean it up and rewrite it in Go (and release it properly or include it into Hexai, another AI related tool of mine, of which I haven't blogged about yet). For now, I am happy with this little hack. It already feels like a native editing workflow for Cursor Agent prompts.

E-Mail your comments to paul@nospam.buetow.org :-)

-- cgit v1.2.3