Krombik / keysender

Node.js Desktop Automation for Windows.
MIT License
75 stars 6 forks source link

`printText` doesn't work with emojis #18

Closed ch3rn1k closed 1 year ago

ch3rn1k commented 1 year ago

Problem is simple - printText method doesn't works with emojis. Only if simple one, like ❤️

Example code:

import { Hardware } from "keysender";

const obj = new Hardware(handle); // or Virtual

await obj.keyboard.printText("🚑 ❤️ 🐝");

Outputs: � ❤️ �

Krombik commented 1 year ago

fixed in 2.3.0

ch3rn1k commented 1 year ago

Yeah, works fine! Thanks!