mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-23 17:27:14 +09:00
Fix unicode bug
This commit is contained in:
@@ -95,7 +95,7 @@ class View {
|
||||
}
|
||||
} else {
|
||||
if (e.ch != 0) {
|
||||
buf.insert(cursor.loc, to!string(to!char(e.ch)));
|
||||
buf.insert(cursor.loc, to!string(to!dchar(e.ch)));
|
||||
cursorRight();
|
||||
} else if (e.key == Key.space) {
|
||||
buf.insert(cursor.loc, " ");
|
||||
|
||||
Reference in New Issue
Block a user