mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fmt
This commit is contained in:
parent
d33c4e35c5
commit
f460fc5e2a
@ -41,11 +41,9 @@ fn main() {
|
||||
client.register(comp::Player::new(username, None));
|
||||
|
||||
let (tx, rx) = mpsc::channel();
|
||||
thread::spawn(move || {
|
||||
loop {
|
||||
let msg = read_input();
|
||||
tx.send(msg).unwrap();
|
||||
}
|
||||
thread::spawn(move || loop {
|
||||
let msg = read_input();
|
||||
tx.send(msg).unwrap();
|
||||
});
|
||||
|
||||
loop {
|
||||
|
Loading…
Reference in New Issue
Block a user