Closed nanangarsyad closed 3 years ago
Thanks a lot for the report, and for the screencast! (By the way, can I ask what did you use to make it? :) )
I think I noticed something similar once already, so it should hopefully be possible for me to reproduce it. That's the good news...
The bad news is, that I currently have no slightest idea what could be the reason of this :(
EDIT: Hmmmm; buuuut.... from what I see, you seem to be using ~v0.1 of up; could you please retry, but using the newest version? I think there's some chance that the "Press Enter to run" change I did in 0.2 might have a side effect of fixing this issue. Please let me know if you can do this, and if it fixed this for you — or not! And please note, that with 0.2+ you'll now have to press Enter to run the commands (they aren't executed "immediately" as in the initial 0.1 version anymore).
TIA!
I have the same issue on Ubuntu 18.04.1
@akavel Let me take care of this issue.
@thoaionline You're more than welcome! :heart:
Is it fixed ?
@sarathsp06 Nope, still open.
Apologies, I got started but then dropped this when I wiped my PC (last month). Quite occupied these days after starting a new job so this is now up for grab by a good hand.
Here's something that may help whoever picking this up. I suspect this was due to the app unable to pick up text typed in too quickly (which is what happens when you press Command V or Shift Insert to paste the clipboard content). On my MacOS, up
will work just fine if you paste slowly (Edit \ Paste Special \ Paste Slowly), or use the Paste Special
option and reduce the chunk size
(to anything less than 11 bytes)
This kind of time-based bug is a bit tricky to solve with debugging tool.
Thanks for the tip @thoaionline. For me Paste Slower
didn't work but Advanced Paste
with reduced chunk size work.
Just for posterity, here is what worked for me :
I guess it may be due to https://github.com/gdamore/tcell/issues/200. As such I suppose it may get fixed if I upgrade tcell to 1.1.3+ (which should have https://github.com/gdamore/tcell/commit/12658f0d5770aa5468290658b203aac1be62b647).
Would you mind checking out whether this is now fixed with up v0.4, or is it still broken?
I tested in Konsole on Linux, seems to work now. In case of problems, please comment here or open new issue.
I tried to do some pipelining for comparison. But when I tried to paste the content of my clipboard to this tools command prompt, only the first 11 characters got copied to it.
Here's the screencast in case needed.