blob: ce9c92f1f1f70614658f2aeb7e9eceb1aaf6a47c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
mod repl;
mod database;
mod connection;
mod platform;
use repl::ClientState;
fn main() {
#[cfg(windows)]
platform::win::enable_vt().unwrap();
let mut state = ClientState::new();
if let Some(host) = state.addr.clone() {
state.connect_to(&host);
}
state.run();
}
|