diff options
| author | salmonik <raisersoft@proton.me> | 2026-03-02 17:56:49 +0100 |
|---|---|---|
| committer | salmonik <raisersoft@proton.me> | 2026-03-02 17:56:49 +0100 |
| commit | eb0e61b1aef2fd0fddabcaec6ea318773b65717e (patch) | |
| tree | 7bb7aec64570f52fb010e1f4248a6ff82181b812 /src/bin/client/main.rs | |
| parent | slowly preparing for actual casino (diff) | |
| download | zagan-bet-eb0e61b1aef2fd0fddabcaec6ea318773b65717e.tar.gz zagan-bet-eb0e61b1aef2fd0fddabcaec6ea318773b65717e.zip | |
only use raw mode
Diffstat (limited to 'src/bin/client/main.rs')
| -rw-r--r-- | src/bin/client/main.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bin/client/main.rs b/src/bin/client/main.rs index 9c15e9e..240ad66 100644 --- a/src/bin/client/main.rs +++ b/src/bin/client/main.rs | |||
| @@ -3,14 +3,10 @@ mod macros; | |||
| 3 | mod repl; | 3 | mod repl; |
| 4 | mod database; | 4 | mod database; |
| 5 | mod connection; | 5 | mod connection; |
| 6 | mod platform; | ||
| 7 | 6 | ||
| 8 | use repl::ClientState; | 7 | use repl::ClientState; |
| 9 | 8 | ||
| 10 | fn main() { | 9 | fn main() { |
| 11 | #[cfg(windows)] | ||
| 12 | platform::win::enable_vt().unwrap(); | ||
| 13 | |||
| 14 | let mut state = ClientState::new(); | 10 | let mut state = ClientState::new(); |
| 15 | if let Some(host) = state.addr.clone() { | 11 | if let Some(host) = state.addr.clone() { |
| 16 | state.connect_to(&host); | 12 | state.connect_to(&host); |
