I posted an issue in OhMyREPL, because it’s even worst with OhMyREPL.
And a possible fix using clipboard but it’s probably not a great way of doing it, it should probably rather be fixed in base Julia
Meanwhile I added this to my startup file, it enables Ctrl+V as the “clipboard()” paste (“normal” paste is Ctrl+Shift+V for me):
using OhMyREPL
Base.active_repl.interface = REPL.setup_interface(Base.active_repl; extra_repl_keymap = Dict{Any,Any}(
"^V" => (s, data, c) -> (REPL.LineEdit.edit_insert(REPL.LineEdit.buffer(s), REPL.InteractiveUtils.clipboard()); OhMyREPL.Prompt.rewrite_with_ANSI(s))
))