RICH~-CLICK~ :shakefist:
# rants
j
RICH~-CLICK~ shakefist
m
how come?
j
It's very pretty but sometimes I just want to copy-paste some outputs from tools (e.g. linting errors) without having to delete a bunch of
|
due to line wrapping
party this 1
m
that's rich then not rich-click. but I am slowly getting to a solution for this i think
👀 1
j
Ahhh
RICH shakefist
m
better 😁
in the mean time: how about rectangular text selection (cmd+opt on macos)?
🤯 1
excuseme 2
j
oh my goodness
m
maybe something for rich-hater @James Fellows Yates 😜
j
tenor_gif4784339222222097575.gif
tenor_gif5928485376455046268.gif
m
Screenshot 2026-01-14 at 14.58.15.png
j
oh my god
m
or get a really wide screen winking cowboy
m
Apart from that: Rich will omit the eye candy, if it detects a redirect. So
Copy code
yourcommand &> filename
or
Copy code
yourcommand | tee filename
will be an option. If you directly want to copy, then you can use
pbcopy
on Mac:
Copy code
yourcommand 2>&1 | pbcopy
👀 1
this 1
p
It omits colours, does it do anything different with tables? I thought that if there's no tty it just defaulted to a (fairly narrow) terminal width and still printed them?
Sometimes you have to suffer for art elmofire😆
n
Is there also a way to do rectangular selection in mac VSCode terminals? It works with opt + mouse macOS terminal, but not in vscode :/
m
there it is only holding the option key i think
n
opt works for editors, but not the terminal (for me at least)
m
Working in my vs code terminal...
n
computersshakefist
j
Doesn't work in Zed 🥲
r
even claude doesn't like it 😄
Copy code
I'm having difficulty parsing the GitHub Actions logs programmatically due to the way the output is formatted with ANSI codes and line splitting.
j
SEE @Phil Ewels! Pick your favourite child!!!
😆 1
Or does this just mean I'm a robot 🤔