Move responsibility to decode output encoding to terminal implementation

This commit is contained in:
Iwasaki Yudai
2017-08-26 16:53:17 +09:00
parent 807bcc25a4
commit b2c2db0764
6 changed files with 17 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ export class Hterm {
output(data: string) {
if (this.term.io != null) {
this.term.io.writeUTF16(data);
this.term.io.writeUTF8(data);
}
};