diff options
author | Chet Ramey <chet.ramey@case.edu> | 2022-03-11 16:09:24 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2022-03-11 16:09:24 -0500 |
commit | b6a567e7f13406952cbb1d1adb2f00b2260a871e (patch) | |
tree | aae41d433ff68ad0fb17ba8e5d39987adb4be684 /jobs.c | |
parent | b4e5e5505cc4495c6237c32a65ba62ebcc497b31 (diff) | |
download | bash-b6a567e7f13406952cbb1d1adb2f00b2260a871e.tar.gz |
fix problem with saving tty state after running a command with 'bind -x'; builtins that create associative arrays can now convert existing scalar variables to associative arrays
Diffstat (limited to 'jobs.c')
-rw-r--r-- | jobs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3117,8 +3117,8 @@ if (job == NO_JOB) else #if defined (READLINE) /* We don't want to do this if we are running a process during - programmable completion. */ - if (RL_ISSTATE (RL_STATE_COMPLETING) == 0) + programmable completion or a command bound to `bind -x'. */ + if (RL_ISSTATE (RL_STATE_COMPLETING|RL_STATE_DISPATCHING|RL_STATE_TERMPREPPED) == 0) #endif get_tty_state (); |