This commit is contained in:
MeexReay 2025-02-09 12:06:25 +03:00
commit f2f44a3d2f
2 changed files with 4 additions and 4 deletions

View File

@ -4,8 +4,8 @@ better RAC client
## how to use ## how to use
```bash ```bash
rustc main.rs -o main # build rustc main.rs # build
./main # run ./main # run
cargo build # build with cargo cargo build # build with cargo
cargo run # run with cargo cargo run # run with cargo
``` ```

View File

@ -111,8 +111,8 @@ fn get_input(prompt: &str, default: &str) -> String {
} }
fn main() { fn main() {
let host = get_input("Host (default: meex.lol:11234) > ", DEFAULT_HOST); let host = get_input(&format!("Host (default: {}) > ", DEFAULT_HOST), DEFAULT_HOST);
let name = get_input("Name (default: Anon) > ", "Anon"); let prefix = get_input("Prefix (default: none) > ", "");
thread::spawn({ thread::spawn({
let host = host.clone(); let host = host.clone();