mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-07-30 03:41:28 +00:00
Add chain indicator to prompt
This commit is contained in:
@@ -135,7 +135,9 @@ pub fn main() {
|
||||
println!("Ready!");
|
||||
|
||||
loop {
|
||||
let readline = rl.readline(&format!("Block:{} (type 'help') >> ", lightclient.last_scanned_height()));
|
||||
let readline = rl.readline(&format!("({}) Block:{} (type 'help') >> ",
|
||||
config.chain_name,
|
||||
lightclient.last_scanned_height()));
|
||||
match readline {
|
||||
Ok(line) => {
|
||||
rl.add_history_entry(line.as_str());
|
||||
|
Reference in New Issue
Block a user