mirror of
https://github.com/MeexReay/bRAC.git
synced 2025-05-06 13:38:04 +03:00
Merge branch 'main' of https://github.com/MeexReay/bRAC
This commit is contained in:
commit
f2f44a3d2f
@ -4,8 +4,8 @@ better RAC client
|
||||
## how to use
|
||||
|
||||
```bash
|
||||
rustc main.rs -o main # build
|
||||
./main # run
|
||||
rustc main.rs # build
|
||||
./main # run
|
||||
cargo build # build with cargo
|
||||
cargo run # run with cargo
|
||||
```
|
4
main.rs
4
main.rs
@ -111,8 +111,8 @@ fn get_input(prompt: &str, default: &str) -> String {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let host = get_input("Host (default: meex.lol:11234) > ", DEFAULT_HOST);
|
||||
let name = get_input("Name (default: Anon) > ", "Anon");
|
||||
let host = get_input(&format!("Host (default: {}) > ", DEFAULT_HOST), DEFAULT_HOST);
|
||||
let prefix = get_input("Prefix (default: none) > ", "");
|
||||
|
||||
thread::spawn({
|
||||
let host = host.clone();
|
||||
|
Loading…
Reference in New Issue
Block a user