mirror of
https://github.com/nyakang/nyaterm.git
synced 2026-10-05 00:01:00 +00:00
68cab0beea3d0206656a7a67fe46ca905ddb7a07
SSH keys, saved passwords, OTP entries and credential rules all shared one label-div field helper and one hand-written key handler each. The helper now hosts a real input, the handlers keep only the keys that close or save the editor, and each editor's boxes are dropped when it opens or closes so the next one seeds from its own values. Secrets stopped pretending. A stored password used to render as a row of bullets sized to the draft, or as the literal words "unchanged" sitting where the text goes; the box masks itself now and says "unchanged" in its placeholder, and the reveal toggle unmasks the box rather than swapping the string. The numeric OTP fields keep digits only. An empty field also stopped seeding itself with a space — the old helper needed one to keep its row height, and it showed up as a single bullet in every empty secret box.
Languages
TypeScript
51.2%
Rust
47%
JavaScript
0.7%
CSS
0.5%
PowerShell
0.3%
Other
0.2%