Mercurial > hg > rlgwebd
comparison rlgterm.js @ 9:826a7ced69f8
Make the emulator screen resizable.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Wed, 09 May 2012 13:38:05 -0700 |
parents | 21738794755e |
children | ef6127ed6da3 |
comparison
equal
deleted
inserted
replaced
8:ad0a31e52007 | 9:826a7ced69f8 |
---|---|
403 nsize = csize - 4; | 403 nsize = csize - 4; |
404 else | 404 else |
405 nsize = 48; | 405 nsize = 48; |
406 } | 406 } |
407 document.getElementById("term").style.fontSize = nsize.toString() + "px"; | 407 document.getElementById("term").style.fontSize = nsize.toString() + "px"; |
408 termemu.resize(); | 408 termemu.fixsize(); |
409 debug(1, "Changing font size to " + nsize.toString()); | 409 debug(1, "Changing font size to " + nsize.toString()); |
410 return; | 410 return; |
411 } | 411 } |
412 | 412 |
413 function bell(on) { | 413 function bell(on) { |