Skip to content

Commit

Permalink
Do not end selection mode before prompt/shell
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Aug 8, 2021
1 parent 62a0486 commit 75b5069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -5257,7 +5257,7 @@ static bool prompt_run(const char *current)

static bool handle_cmd(enum action sel, const char *current, char *newpath)
{
endselection(TRUE);
endselection(FALSE);

if (sel == SEL_PROMPT)
return prompt_run(current);
Expand Down

0 comments on commit 75b5069

Please sign in to comment.