bhauman / rebel-readline

Terminal readline library for Clojure dialects
Eclipse Public License 1.0
684 stars 37 forks source link

Slow paste? #177

Open Folcon opened 6 years ago

Folcon commented 6 years ago

Not certain if this is a bug or by design, but I've noticed if I paste a chunk of text, say 2 to 5 lines, into the terminal, it appears to paste character by character?

If this can't be reproduced please tell me, I'll see if I can do some screen recording.

Folcon commented 6 years ago

Looking into the source code, it might be better to implement a paste command, which temporarily disables all the highlighting etc for 1 paste and then re-enables it to allow the user to edit as normal?

bhauman commented 6 years ago

It's really been a while since I look at this, I'd have to devote some time to understand the implications of this.

On Thu, Sep 27, 2018 at 7:41 AM Folcon notifications@github.com wrote:

Looking into the source code, it might be better to implement a paste command, which temporarily disables all the highlighting etc for 1 paste and then re-enables it to allow the user to edit as normal?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bhauman/rebel-readline/issues/177#issuecomment-425059021, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAKQG4NvdmtGh9PUWUzf-esTONJrKi5ks5ufLmEgaJpZM4W1Uk0 .

Folcon commented 6 years ago

Sure, if you have any questions ask away!

Also any things that I can do to be helpful here?