-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added clipboard ignore format handling
- Loading branch information
1 parent
a168c60
commit 4e58e4e
Showing
6 changed files
with
257 additions
and
273 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
#![feature(unboxed_closures)] | ||
#![feature(fn_traits)] | ||
|
||
pub mod cli; | ||
pub mod clipboard_extras; | ||
pub mod key_utils; | ||
pub mod winapi_functions; | ||
pub mod window; | ||
pub mod event_handler; | ||
|
||
use cli::Opts; | ||
use crate::window::Window; | ||
use crate::event_handler::EventHandler; | ||
use cli::Opts; | ||
|
||
pub fn run(opts: Opts) { | ||
// Create a window and event handler | ||
let event_loop_callback = EventHandler::new(opts.max_history); | ||
let mut window = Window::new(event_loop_callback); | ||
let mut window = Window::new(opts.max_history); | ||
window.run_event_loop(); | ||
} |
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
Oops, something went wrong.