Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

newline char may arrive before what's being pasted #1347

Open
errordeveloper opened this issue Apr 19, 2016 · 6 comments
Open

newline char may arrive before what's being pasted #1347

errordeveloper opened this issue Apr 19, 2016 · 6 comments
Labels
bug Broken end user or developer functionality; not working as the developers intended it component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer
Milestone

Comments

@errordeveloper
Copy link
Contributor

errordeveloper commented Apr 19, 2016

Typing cmd <paste><return> can cause <return> to arrive before <paste> (at least in Chrome).

uwsgi@9c90f04ba0ce:/app$ ping -c1                                                                                           
redis-data-monsterz.marathon.mesosping: missing host operand                                                                
Try 'ping --help' or 'ping --usage' for more information.                                                                   
uwsgi@9c90f04ba0ce:/app$ redis-data-monsterz.marathon.mesos                                                                 
bash: redis-data-monsterz.marathon.mesos: command not found                                                                 
uwsgi@9c90f04ba0ce:/app$ ping -c1 redis-data-monsterz.marathon.mesos                                                        
PING redis-data-monsterz.marathon.mesos (10.0.3.244): 56 data bytes                                                         
64 bytes from 10.0.3.244: icmp_seq=0 ttl=64 time=0.093 ms                                                                   
--- redis-data-monsterz.marathon.mesos ping statistics ---                                                                  
1 packets transmitted, 1 packets received, 0% packet loss                                                                   
round-trip min/avg/max/stddev = 0.093/0.093/0.093/0.000 ms                                                                  
uwsgi@9c90f04ba0ce:/app$ ping -c1                                                                                           
ping: missing host operand                                                                                                  
Try 'ping --help' or 'ping --usage' for more information.                                                                   
uwsgi@9c90f04ba0ce:/app$ redis-data-monsterz.marathon.mesos                                                                 
bash: redis-data-monsterz.marathon.mesos: command not found                                                                 
uwsgi@9c90f04ba0ce:/app$ ping -c1 redis-data-monsterz.marathon.mesos                                                        
PING redis-data-monsterz.marathon.mesos (10.0.3.244): 56 data bytes                                                         
64 bytes from 10.0.3.244: icmp_seq=0 ttl=64 time=0.079 ms                                                                   
--- redis-data-monsterz.marathon.mesos ping statistics ---                                                                  
1 packets transmitted, 1 packets received, 0% packet loss                                                                   
round-trip min/avg/max/stddev = 0.079/0.079/0.079/0.000 ms                                                                  
uwsgi@9c90f04ba0ce:/app$

Do note that there was no newline after uwsgi@9c90f04ba0ce:/app$ redis-data-monsterz.marathon.mesos, I hit the return key there.

@errordeveloper
Copy link
Contributor Author

This could be just my thick fingers, but please try for yourself, I'm quite sure it's not just me.

@errordeveloper
Copy link
Contributor Author

Just noticed same happens in GCE terminal widget.

@rade rade added the bug Broken end user or developer functionality; not working as the developers intended it label Jul 4, 2016
@rade
Copy link
Member

rade commented Jul 17, 2016

Is this possibly the same as #1158, which was fixed in #1648? @errordeveloper could you re-test with a recent (>=0.16.1) scope, please?

@errordeveloper
Copy link
Contributor Author

No, I think this is to do with input, it looks like a race condition in the library to me. Katacoda uses the same library, and I've seen the same issue there.

@rade
Copy link
Member

rade commented Jan 10, 2017

I cannot reproduce this, but I am not on a Mac, so the paste keystroke is different.

@rade rade added this to the Backlog milestone Jan 10, 2017
@rade rade added the component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer label Jan 11, 2017
@rade
Copy link
Member

rade commented Jul 14, 2017

@errordeveloper can you reproduce this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken end user or developer functionality; not working as the developers intended it component/ui Predominantly a front-end issue; most/all of the work can be completed by a f/e developer
Projects
None yet
Development

No branches or pull requests

2 participants