Skip to content

Commit 1c9eb49

Browse files
authored
Merge pull request #205 from dstein64/master
Add @xterm package scope
2 parents ca68fb1 + 57e0035 commit 1c9eb49

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_includes/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
First you need to install the module, we ship exclusively through [npm](https://www.npmjs.com/) so you need that installed and then add xterm.js as a dependency by running:
44

55
```
6-
npm install xterm
6+
npm install @xterm/xterm
77
```
88

99
To start using xterm.js on your browser, add the `xterm.js` and `xterm.css` to the head of your html page. Then create a `<div id="terminal"></div>` onto which xterm can attach itself. Finally instantiate the `Terminal` object and then call the `open` function with the DOM object of the `div`.

_pages/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
</div>
1515

1616
<div class="npm-install">
17-
<div class="text">npm install xterm</div>
18-
<button class="copy" title="Copy to clipboard" onclick="navigator.clipboard.writeText('npm install xterm'); document.querySelector('.copy').textContent = '\u2713'">Copy</div>
17+
<div class="text">npm install @xterm/xterm</div>
18+
<button class="copy" title="Copy to clipboard" onclick="navigator.clipboard.writeText('npm install @xterm/xterm'); document.querySelector('.copy').textContent = '\u2713'">Copy</div>
1919
</div>
2020

2121
{% include demo.html %}

0 commit comments

Comments
 (0)