mirror of
https://github.com/veeso/termscp.git
synced 2026-07-15 12:33:49 +02:00
Working on setup activity; need to merge rethink-context
This commit is contained in:
@@ -25,10 +25,10 @@
|
||||
*/
|
||||
|
||||
// Submodules
|
||||
mod callbacks;
|
||||
mod callbacks; // TOREM: this
|
||||
mod config;
|
||||
mod input;
|
||||
mod layout;
|
||||
mod input; // TOREM: this
|
||||
mod layout; // TOREM: this
|
||||
mod misc;
|
||||
|
||||
// Deps
|
||||
@@ -43,6 +43,21 @@ use crossterm::event::Event as InputEvent;
|
||||
use crossterm::terminal::{disable_raw_mode, enable_raw_mode};
|
||||
use tui::style::Color;
|
||||
|
||||
// -- components
|
||||
const COMPONENT_TEXT_HELP: &str = "TEXT_HELP";
|
||||
const COMPONENT_TEXT_FOOTER: &str = "TEXT_FOOTER";
|
||||
const COMPONENT_RADIO_QUIT: &str = "RADIO_QUIT";
|
||||
const COMPONENT_RADIO_SAVE: &str = "RADIO_SAVE";
|
||||
const COMPONENT_INPUT_TEXT_EDITOR: &str = "INPUT_TEXT_EDITOR";
|
||||
const COMPONENT_RADIO_DEFAULT_PROTOCOL: &str = "RADIO_DEFAULT_PROTOCOL";
|
||||
const COMPONENT_RADIO_HIDDEN_FILES: &str = "RADIO_HIDDEN_FILES";
|
||||
const COMPONENT_RADIO_UPDATES: &str = "RADIO_CHECK_UPDATES";
|
||||
const COMPONENT_RADIO_GROUP_DIRS: &str = "RADIO_GROUP_DIRS";
|
||||
const COMPONENT_INPUT_FILE_FMT: &str = "INPUT_FILE_FMT";
|
||||
const COMPONENT_RADIO_TAB: &str = "RADIO_TAB";
|
||||
const COMPONENT_LIST_SSH_KEYS: &str = "LIST_SSH_KEYS";
|
||||
const COMPONENT_RADIO_DEL_SSH_KEY: &str = "RADIO_DEL_SSH_KEY";
|
||||
|
||||
// Types
|
||||
type OnChoiceCallback = fn(&mut SetupActivity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user