Skip to content

Commit

Permalink
Made terminal fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
willow385 committed Jun 20, 2022
1 parent a20487a commit 9d8cdc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
16 changes: 1 addition & 15 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,6 @@
<script src="main.js"></script>
</head>

<body>
<p class="title_bar">Mudnix: a 1970s-style MUD in your browser!</p>
<div style="background-color:#00FF00">
<p>
&nbsp;
<a href="/index.html" class="header-link">Home</a>
&nbsp;
<a href="/games.html" class="header-link">Games</a>
&nbsp;
</p>
</div>

<div class="code-snippet center-screen" id="main"></div>

</body>
<body></body>

</html>
6 changes: 2 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let global = {
baseURL: "https://mudnix.dantefalzone.repl.co",
frontendVersion: "0.5.0",
frontendVersion: "0.5.1",
backendVersion: null,

messageEventSource: null,
Expand Down Expand Up @@ -362,7 +362,7 @@ function whosHere() {
}

function setUpTerminal() {
$("#main").terminal({
$("body").terminal({

// utility commands
"echo": function(str) { this.echo(str); },
Expand Down Expand Up @@ -394,8 +394,6 @@ Type "new-user" to create a new account.
Type "login" if you already have an account.
Type "help" for a list of commands.`,
name: "mudnix",
height: 480,
width: 800,
prompt: "mudnix> "
});
}
Expand Down

0 comments on commit 9d8cdc9

Please sign in to comment.