1 | static S readLine_enableConsole() { |
2 | bool e = consoleInputEnabled(); |
3 | if (!e) enableConsoleInput(); |
4 | S s = readLine(); |
5 | if (!e) disableConsoleInput(); |
6 | ret s; |
7 | } |
Began life as a copy of #1013754
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013854 |
Snippet name: | readLine_enableConsole |
Eternal ID of this version: | #1013854/1 |
Text MD5: | 3b4b66fef169b6de944237e6d8b6baa4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-03-06 21:13:01 |
Source code size: | 171 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 345 / 386 |
Referenced in: | [show references] |