please include function readLine.
static S readLineHidden() ctex {
if (get(javax(), 'readLine_reader) == null)
set(javax(), readLine_reader := new BufferedReader(new InputStreamReader(System.in, "UTF-8")));
try {
ret ((BufferedReader) get(javax(), 'readLine_reader)).readLine();
} finally {
consoleClearInput();
}
}Began life as a copy of #1001074
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
| Snippet ID: | #1001189 |
| Snippet name: | readLineHidden - for password entry and such |
| Eternal ID of this version: | #1001189/7 |
| Text MD5: | 03a1cb810a66589dc1919d4d16b90417 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-04 18:02:30 |
| Source code size: | 346 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1300 / 1570 |
| Version history: | 6 change(s) |
| Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) |