poprawienie flake'a i dodanie licencji
This commit is contained in:
-10
@@ -12,11 +12,6 @@ use std::{
|
||||
|
||||
fn main() -> Result<()> {
|
||||
let nix_modules: NixModules = get_modules();
|
||||
|
||||
for module in &nix_modules.system_modules {
|
||||
println!("{} - ({})", module.category, module.path);
|
||||
}
|
||||
|
||||
let mut terminal: Terminal<CrosstermBackend<Stdout>> = ratatui::init();
|
||||
let mut app: App = App {
|
||||
exit: false,
|
||||
@@ -38,11 +33,6 @@ fn main() -> Result<()> {
|
||||
handle_input_events(tx_to_input_events);
|
||||
});
|
||||
|
||||
// let tx_to_file_edit_events: Sender<Event> = event_tx.clone();
|
||||
// thread::spawn(move || {
|
||||
// // handle_file_edit_events(tx_to_file_edit_events);
|
||||
// });
|
||||
|
||||
let app_result: Result<()> = app.run(&mut terminal, event_rx);
|
||||
ratatui::restore();
|
||||
app_result
|
||||
|
||||
Reference in New Issue
Block a user