1 | please include function readLine. |
2 | |
3 | static S readLineHidden() ctex { |
4 | if (get(javax(), 'readLine_reader) == null) |
5 | set(javax(), readLine_reader := new BufferedReader(new InputStreamReader(System.in, "UTF-8"))); |
6 | try { |
7 | ret ((BufferedReader) get(javax(), 'readLine_reader)).readLine(); |
8 | } finally { |
9 | consoleClearInput(); |
10 | } |
11 | } |
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: | 752 / 1072 |
Version history: | 6 change(s) |
Referenced in: | [show references] |