vue-terminal / vue-termui

The Modern Terminal UI Framework
https://vue-termui.dev
MIT License
795 stars 30 forks source link

fix(input): use `event.data` instead of `event.key` for chinese characters #40

Closed webfansplz closed 1 year ago

webfansplz commented 1 year ago

image

netlify[bot] commented 1 year ago

Deploy Preview for vue-termui failed.

Name Link
Latest commit 5a744254bbc179279ad7ac3027fef3cb3f42dc4e
Latest deploy log https://app.netlify.com/sites/vue-termui/deploys/638f38b253826b000753d8c2
codecov-commenter commented 1 year ago

Codecov Report

Base: 67.81% // Head: 67.81% // No change to project coverage :thumbsup:

Coverage data is based on head (5a74425) compared to base (f190f6d). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #40 +/- ## ======================================= Coverage 67.81% 67.81% ======================================= Files 47 47 Lines 4312 4312 Branches 225 225 ======================================= Hits 2924 2924 + Misses 1388 1387 -1 - Partials 0 1 +1 ``` | [Impacted Files](https://codecov.io/gh/vue-terminal/vue-termui/pull/40?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vue-terminal) | Coverage Ξ” | | |---|---|---| | [packages/core/src/renderer/render.ts](https://codecov.io/gh/vue-terminal/vue-termui/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vue-terminal#diff-cGFja2FnZXMvY29yZS9zcmMvcmVuZGVyZXIvcmVuZGVyLnRz) | `72.72% <0.00%> (ΓΈ)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vue-terminal). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vue-terminal)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.