564 B
564 B
TPB
Pronounced
tee pee beeortee pasteboard
TPB is a super simple, small program to "tee" into my clipboard using OSC 52 codes.
Usage:
command | tpb
I was somewhat fed up with pbcopy eating stdout making it impossible to see
the output of what I was doing without pasting it. While, yes, this could just
be a shell script, I decided to write in a systems language because its more fun
and I like the idea of it being super low latency. Originally, I was going to
write this in Rust but decided that Zig was a better fit for something like
this.