This commit is contained in:
2Shirt 2025-01-23 00:00:05 -08:00
parent 00bc5bc607
commit 086946b357
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 5 additions and 2 deletions

View file

@ -82,9 +82,11 @@ impl Component for Left {
(None, None) => {
// Making first selection
command_tx.send(Action::Select(self.list.selected(), None))?;
if self.select_num == 1 {
// Confirm selection
command_tx.send(Action::NextScreen)?;
}
}
(Some(first_index), None) => {
if let Some(second_index) = self.list.selected() {
// Making second selection

View file

@ -349,6 +349,7 @@ pub fn build_command(app: &App, tool: &Tool) -> Task {
let start_index: usize;
if tool.use_conemu {
cmd_path = app.config.conemu_path.clone();
cmd_args.push(String::from("-new_console:n"));
cmd_args.push(tool.command.clone());
start_index = 1;
} else {