Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1024941 // Fake Terminal [to be used in actual terminal]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (2332L/15K).

1  
!7
2  
3  
sS prompt = "stefan@stefan-quadcore ~ $ ";
4  
5  
p {
6  
  while licensed {
7  
    print_noNewLine(prompt);
8  
    S line = readLine();
9  
    if (eqicAfterTrim(dropPunctuation(line), "exit")) break;
10  
  }
11  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024941
Snippet name: Fake Terminal [to be used in actual terminal]
Eternal ID of this version: #1024941/6
Text MD5: 004ed020f2943ae9b4b6d46076645337
Transpilation MD5: c3abb95d4590e31729b4b08027213097
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-31 04:39:18
Source code size: 201 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 296 / 955
Version history: 5 change(s)
Referenced in: [show references]