sshy 0.1.2

TUI application to make SSH configuration easier
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use ratatui::{
    layout::Rect,
    Frame,
};

use crate::model::sections_state::client_config_state::ClientConfigState;

/// USAR EL EJEMPLO DE VIM DE ACA
/// https://github.com/rhysd/tui-textarea/blob/main/examples/vim.rs

pub fn draw(f: &mut Frame, rect: &Rect, section_state: &ClientConfigState) {
    let textarea = section_state.get_textarea();
    f.render_widget(textarea, *rect);
}