mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Components will now render and set cursor
This commit is contained in:
@@ -202,9 +202,7 @@ impl AuthActivity {
|
||||
let focus: Option<String> = self.view.who_has_focus();
|
||||
// Render
|
||||
// Header
|
||||
if let Some(render) = self.view.render(super::COMPONENT_TEXT_HEADER).as_ref() {
|
||||
f.render_widget(render.widget, auth_chunks[0]);
|
||||
}
|
||||
self.view.render(super::COMPONENT_TEXT_HEADER, f, auth_chunks[0]);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user