Skip to content

Commit

Permalink
WIP: Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
magicant committed Apr 16, 2024
1 parent 8d6f2c7 commit 2ebed7d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions input.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,13 @@ inputresult_T optimized_read_input(
inputresult_T input_interactive(struct xwcsbuf_T *buf, void *inputinfo)
{
struct input_interactive_info_T *info = inputinfo;
struct promptset_T prompt;

if (info->prompttype == 1) {
if (!posixly_correct)
exec_variable_as_auxiliary_(VAR_PROMPT_COMMAND);
check_mail();
}
prompt = get_prompt(info->prompttype);

struct promptset_T prompt = get_prompt(info->prompttype);
if (do_job_control)
print_job_status_all();
/* Note: no commands must be executed between `print_job_status_all' here
Expand Down

0 comments on commit 2ebed7d

Please sign in to comment.