diff --git a/exec/load/dorkit.js b/exec/load/dorkit.js index 33fa0bcb126d8158ad9c96d8044d98aa0e5bd2c4..86e083177c7ae7bd6f5986dd9caf229c156a1241 100644 --- a/exec/load/dorkit.js +++ b/exec/load/dorkit.js @@ -568,8 +568,12 @@ var dk = { } key = this.getkey(); if (opt.hotkeys !== undefined && str.length === 0 && opt.hotkeys.indexOf(key) !== -1) { - if (ascii(key) >= 32) - this.print(key); + if (ascii(key) >= 32) { + if (opt.password) + this.print(opt.password_char); + else + this.print(key); + } if (opt.crlf) this.println(''); return key;