Skip to content

Commit 5f7eb6e

Browse files
committed
Fix charset drawing
Fixes #1565
1 parent 7c3bf3a commit 5f7eb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)