hmu332233 / kbd-txt

The "kbd-txt" is a lightweight (~850 B) library that formats keyboard shortcuts to work with Mac, Windows, and Linux operating systems, making it easier to display shortcuts for users on different systems.

Home Page:https://kbd-txt.minung.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shift symbol(⇧) not recognized

hmu332233 opened this issue · comments

Shift symbol(⇧) not recognized in window/linux

Issue

console.log(convert('⌘+s')); // Ctrl+S
console.log(convert('⇧+s')); // ⇧+S

Expect

console.log(convert('⌘+s')); // Ctrl+S
console.log(convert('⇧+s')); // Shift+S