add a default style option.

This commit is contained in:
Christopher Jeffrey
2013-08-11 09:32:17 -05:00
parent 791127bc88
commit 3b322929c6
3 changed files with 63 additions and 27 deletions
+2 -15
View File
@@ -5,20 +5,6 @@
margin-bottom: 20px;
font: 20px/1.5 sans-serif;
}
.terminal {
float: left;
border: #000 solid 5px;
font-family: "DejaVu Sans Mono", "Liberation Mono", monospace;
font-size: 11px;
color: #f0f0f0;
background: #000;
}
.terminal-cursor {
color: #000;
background: #f0f0f0;
}
</style>
<h1>term.js test</h1>
<script src="term.js"></script>
@@ -33,7 +19,8 @@
var term = new Terminal({
cols: 80,
rows: 30
rows: 30,
style: true
});
window.onload = function() {