WIP #43
This commit is contained in:
parent
00bc5bc607
commit
086946b357
2 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue