small gleam coding and persistent agent daemon with a detachable cli and a canvas ui albedo.sh

TUI: is there a shortcut to copy? #133

Open aly.codes
Open opened by aly.codes

I can click the copy button below a response in the TUI, but is there a quicker way?

Of course, what I'd really like is to copy arbitrary toolcalls, diffs, code blocks, etc, all in the same UI. OMPs /copy UX is the closest prior art I've been able to find, but still not fully what I want.

i’m ok with a /copy. should it copy final response, the entire trace, an option for it?

i’m trying to imagine how the ux would be if it should open a modal or just try to aim to be an inline command you can do quickly is the thing

Pi's /copy simply just copies the last response with no additional user input, OMP has a nicer picker that lets you copy out just 1 code block (something most people will say "output a file in /tmp" for 😉) as well as tool calls and responses, but that would be more complicated to implement. Personally, as long as I can quickly copy the last response I can just paste it into Neovim to get the relevant part out (says person who doesn't do that), and usually I don't need to copy tool calls from my experience. It's up to you, though.

i think i want to do is something like qutebrowser or such where you can trigger the copy and then press the hotkey for whatever you wanna copy. we can also have a /copy for last message quickly

Sign up or Sign in to add to the discussion.