diff --git a/cyberwow/lib/config/cyberwow.dart b/cyberwow/lib/config/cyberwow.dart index a3f2bca..4717d27 100644 --- a/cyberwow/lib/config/cyberwow.dart +++ b/cyberwow/lib/config/cyberwow.dart @@ -126,4 +126,5 @@ final config = CryptoConfig '--fast-block-sync=1', '--block-sync-size=5', ], + '[1337@cyberwow]: ', ); diff --git a/cyberwow/lib/config/prototype.dart b/cyberwow/lib/config/prototype.dart index 97214e7..546fcd6 100644 --- a/cyberwow/lib/config/prototype.dart +++ b/cyberwow/lib/config/prototype.dart @@ -30,6 +30,7 @@ class CryptoConfig { final int port; final Set commands; final List extraArgs; + final String promptString; const CryptoConfig ( this.outputBin, @@ -40,5 +41,6 @@ class CryptoConfig { this.port, this.commands, this.extraArgs, + this.promptString, ); } diff --git a/cyberwow/lib/state.dart b/cyberwow/lib/state.dart index 587dc1f..663b801 100644 --- a/cyberwow/lib/state.dart +++ b/cyberwow/lib/state.dart @@ -248,7 +248,7 @@ class SyncedState extends HookedState { } void appendInput(final String line) { - stdout.addLast('> ' + line + '\n'); + stdout.addLast(config.c.promptString + line + '\n'); syncState(); processInput.add(line);