This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use orbtk::prelude::*; | |
pub use self::main_state::*; | |
pub use self::main_view::*; | |
mod main_state; | |
mod main_view; | |
fn main() { | |
Application::from_name("orbtk-sandbox") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use orbtk::prelude::*; | |
enum Message { | |
Increment, | |
} | |
#[derive(Default, AsAny)] | |
struct MainState { | |
count: i32, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" I don't know exactly how Git Bash is setup, and even if VIM is packaged along side it or something else. | |
" However, at the school I go to, the lab computers has Git Bash and I wanted to mimic the VIM on Mac OSX. | |
" Thus, I came up with this. | |
set ts=4 | |
set mouse=a | |
set novisualbell | |
" From https://superuser.com/questions/634326/how-can-i-get-a-block-cursor-in-vim-in-the-cygwin-terminal |