WIP #43
This commit is contained in:
parent
00bc5bc607
commit
086946b357
2 changed files with 5 additions and 2 deletions
|
|
@ -82,8 +82,10 @@ impl Component for Left {
|
||||||
(None, None) => {
|
(None, None) => {
|
||||||
// Making first selection
|
// Making first selection
|
||||||
command_tx.send(Action::Select(self.list.selected(), None))?;
|
command_tx.send(Action::Select(self.list.selected(), None))?;
|
||||||
// Confirm selection
|
if self.select_num == 1 {
|
||||||
command_tx.send(Action::NextScreen)?;
|
// Confirm selection
|
||||||
|
command_tx.send(Action::NextScreen)?;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
(Some(first_index), None) => {
|
(Some(first_index), None) => {
|
||||||
if let Some(second_index) = self.list.selected() {
|
if let Some(second_index) = self.list.selected() {
|
||||||
|
|
|
||||||
|
|
@ -349,6 +349,7 @@ pub fn build_command(app: &App, tool: &Tool) -> Task {
|
||||||
let start_index: usize;
|
let start_index: usize;
|
||||||
if tool.use_conemu {
|
if tool.use_conemu {
|
||||||
cmd_path = app.config.conemu_path.clone();
|
cmd_path = app.config.conemu_path.clone();
|
||||||
|
cmd_args.push(String::from("-new_console:n"));
|
||||||
cmd_args.push(tool.command.clone());
|
cmd_args.push(tool.command.clone());
|
||||||
start_index = 1;
|
start_index = 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue