Skip to content

Commit

Permalink
Merge pull request xtermjs#4809 from silamon/correct-typing-graphemes
Browse files Browse the repository at this point in the history
Correct graphemes addon readme and typings
  • Loading branch information
Tyriar authored Sep 16, 2023
2 parents a6f5726 + fbf7d7a commit 03f1336
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions addons/xterm-addon-unicode-graphemes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ npm install --save xterm-addon-unicode-graphemes

```ts
import { Terminal } from 'xterm';
import { UnicodeGraphemeAddon } from 'xterm-addon-unicode-graphemes';
import { UnicodeGraphemesAddon } from 'xterm-addon-unicode-graphemes';

const terminal = new Terminal();
const unicodeGraphemeAddon = new UnicodeGraphemeAddon();
terminal.loadAddon(unicodeGraphemeAddon);
const unicodeGraphemesAddon = new UnicodeGraphemesAddon();
terminal.loadAddon(unicodeGraphemesAddon);
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { Terminal, ITerminalAddon } from 'xterm';

declare module 'xterm-addon-unicode-graphemes' {
export class Unicode11Addon implements ITerminalAddon {
export class UnicodeGraphemesAddon implements ITerminalAddon {
constructor();
public activate(terminal: Terminal): void;
public dispose(): void;
Expand Down

0 comments on commit 03f1336

Please sign in to comment.