- Chat messages are now loaded based on scroll position - Read status is now updated and set by last message read - Reworked script importing by using ScriptProvider
15 lines
No EOL
363 B
TypeScript
15 lines
No EOL
363 B
TypeScript
import { Readline } from "xterm-readline"
|
|
import { FitAddon } from "@xterm/addon-fit"
|
|
|
|
export class Terminal {
|
|
public static Create(): Terminal {
|
|
return new Terminal();
|
|
}
|
|
|
|
constructor() {
|
|
(<any>window).XtermBlazor.registerAddons({
|
|
"readline": new Readline(),
|
|
"addon-fit": new FitAddon(),
|
|
});
|
|
}
|
|
} |