feat: cli args for double remote
Some checks are pending
Linux / build (push) Waiting to run
MacOS / build (push) Waiting to run
Windows / build (push) Waiting to run

This commit is contained in:
veeso
2024-10-06 21:14:26 +02:00
parent 418b132f7e
commit 4d4c71106d
23 changed files with 742 additions and 221 deletions

View File

@@ -7,7 +7,7 @@ use tuirealm::terminal::TerminalBridge;
/// Read a secret from tty with customisable prompt
pub fn read_secret_from_tty(
terminal_bridge: &mut TerminalBridge,
prompt: &str,
prompt: impl ToString,
) -> std::io::Result<Option<String>> {
let _ = terminal_bridge.disable_raw_mode();
let _ = terminal_bridge.leave_alternate_screen();