Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
I forgot to mention that this is using svn r200. (It is also reproducible with 
2.10)

Original comment by [email protected] on 9 Jan 2010 at 5:01

from shellinabox.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
I guess this is the same problem we have stumpled upon here.
Are you using Firefox?

In contrast to Opera which sets a font-family and a font-size for pre-tags by 
default
the Firefox sets only a font-family by default.

Since shellinabox overrides the font-family for the #console pre-tags, but 
forgets
about the pre-tag, which includes the span-element with id #space, which is
temporarily build to calculate the cursor position in some cases (e.g. ^U to 
clear
the line), the font-sizes differ.

Solution:
Change the line in file shellinabox/styles.css:47 from

#vt100 #console, #vt100 #alt_console, #vt100 #cursor, #vt100 #lineheight {

to

#vt100 #console, #vt100 #alt_console, #vt100 #cursor, #vt100 #lineheight, #vt100
.hidden pre {

I hope this helps. It took me some while to figure it out :-)

Jan

Original comment by [email protected] on 23 Apr 2010 at 2:02

from shellinabox.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
Yup, that fixed it. Thanks!

Original comment by [email protected] on 3 Sep 2010 at 5:01

from shellinabox.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
Thank you! This fixes a bunch of other bugs, too, I think.

Jan, I owe you a beer :-)

Original comment by [email protected] on 3 Sep 2010 at 5:26

  • Changed state: Fixed

from shellinabox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.