Skip to content

Commit b84dba2

Browse files
authored
Merge pull request #1566 from Tyriar/1565_charset_fix
Fix charset drawing
2 parents 0545cfa + 61fc4ca commit b84dba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InputHandler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,9 @@ export class InputHandler extends Disposable implements IInputHandler {
359359
chWidth = wcwidth(code);
360360

361361
// get charset replacement character
362-
// FIXME: Should code be replaced as well?
363362
if (charset) {
364363
char = charset[char] || char;
364+
code = char.charCodeAt(0);
365365
}
366366

367367
if (screenReaderMode) {

0 commit comments

Comments
 (0)