Mercurial > cgi-bin > hgweb.cgi > PassMan
diff src/main/kotlin/name/blackcap/passman/Clipboard.kt @ 2:3c792ad36b3d
Can now update a password and read it back.
author | David Barts <n5jrn@me.com> |
---|---|
date | Sun, 11 Sep 2022 18:24:55 -0700 |
parents | a6cfdffcaa94 |
children |
line wrap: on
line diff
--- a/src/main/kotlin/name/blackcap/passman/Clipboard.kt Sun Sep 11 16:12:47 2022 -0700 +++ b/src/main/kotlin/name/blackcap/passman/Clipboard.kt Sun Sep 11 18:24:55 2022 -0700 @@ -31,7 +31,7 @@ } } -/* xxx: this often makes a string out of a password */ +/* XXX: This will make a string out of a password. Shikata ga nai. */ fun writeToClipboard(charArray: CharArray) { CLIPBOARD.setContents(ClipboardData(String(charArray)), ClipboardOwner()) }