Closed lcristianiim closed 8 years ago
Hmm, really? :smile:
Yeah. It just works.
Hmm, with the Monaco font?
Here is what I got:
hmm.. thats strange
From debugging, I saw that the char height is 11
while the row height is 12
. That's the reason. By just adding + 1
Changing this into something like y: Math.floor(targetSize.height / (charSize.height + 1))
solves the problem for me, Monaco font, but it fails it for the monospace
font. :sob:
Now it should also work in Chrome.
Fixes #25 This should fix the terminal height with the prompt going off the bottom of the page. @IonicaBizau please check it out.