terminal icon indicating copy to clipboard operation
terminal copied to clipboard

paste long data slow

Open elementaryBot opened this issue 8 years ago • 1 comments

I noticed that pasting long data (for example, entire web pages, or 1Mb of binary data) takes quite long (I think mainly because the terminal tries to update the screen at every char, correct me if my assumption is wrong). So, (since detecting the "paste" action should be easy (is done during the "sudo detection"), so I thought that the pasting action could become faster preventing the screen updates (or reading the clipboard directly). Thanks

Launchpad Details: #LP1468438 Nicolò Balzarotti - 2015-06-24 16:41:37 +0000

elementaryBot avatar Apr 26 '17 17:04 elementaryBot

I've found that pasting to certain applications (e.g. vim) is painfully slow in all terminal emulators, while pasting to others (e.g. joe) is pretty fast in all emulators. I have no clue why it's that slow for vim (and some others as well), although I am quite curious.

Vte (the terminal widget) most definitely does not update the screen at every char; it updates the display at a rate of approx. 40 FPS.

Launchpad Details: #LPC Egmont Koblinger - 2015-10-09 22:41:45 +0000

elementaryBot avatar Apr 26 '17 17:04 elementaryBot