Open
Description
Idea as an alternative to #53199
I think InteractiveUtils could define a type Clipboard <: IO
which accesses the clipboard.
Then could do things like
redirect_stdout(Clipboard()) do
@code_llvm foo()
end
behind the scenes it would be using the clipboard
functions we already have, and using IOBuffer
s.
I haven't fully thought it through, but I think it is all possible. We might need the user to provide file open strings like "r", "w", "a".
Activity