You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
neovide/src/main.rs

33 lines
622 B
Rust

#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
5 years ago
#[macro_use]
mod settings;
mod bridge;
mod editor;
mod window;
mod renderer;
mod error_handling;
mod redraw_scheduler;
#[macro_use] extern crate derive_new;
5 years ago
#[macro_use] extern crate rust_embed;
#[macro_use] extern crate lazy_static;
use lazy_static::initialize;
use bridge::BRIDGE;
use window::ui_loop;
5 years ago
pub const INITIAL_DIMENSIONS: (u64, u64) = (100, 50);
5 years ago
fn main() {
window::initialize_settings();
redraw_scheduler::initialize_settings();
renderer::cursor_renderer::initialize_settings();
initialize(&BRIDGE);
ui_loop();
}