guanglinlv / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

vt100.js cursor is set to wrong position when embedded #137

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Embed the vt100.js terminal in a div which is not on top of the page
2.
3.

What is the expected output? What do you see instead?
The cursor should be at the correct position. Instead it is moved below the 
correct position for so much space, as the vt100 div is below the top of the 
page.

What version of the product are you using? On what operating system?
Latest version from svn of vt100.js.

Please provide any additional information below.
I found out, that the following patch fixes the issue. However it was a process 
of trial and error and I haven't yet fully understood the inner workings of the 
vt100 class.

Original issue reported on code.google.com by lvol...@gmail.com on 12 Sep 2011 at 9:01

Attachments:

GoogleCodeExporter commented 8 years ago
I'd make this patch, but I don't know if it will break other systems.  Markus?

Original comment by beewoo...@gmail.com on 31 Mar 2012 at 10:48