Parent: 32e9d15a60948ad1e912f6660e9dea6d8c5265d1
Author: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-03-08 18:11:49
Tree: e3cd194341064c5d932c13062158a41fb0e31562
shared/shell: Add fixes for the init script scenario This adds some fixes to the scenario when the shell is run with the -i/--init-script command line option. In bt_shell_dequeue_exec, if a prompt was released with the current line, all other prompts, if any left, should also try to be released. If no other prompts are available, the next line should be executed on bt_shell_noninteractive_quit. In bt_shell_prompt_input, if data is already available in data.queue, execution should continue and the prompt should be released with the input.
Diffstat
| M | src/shared/shell.c | | | 17 | ++++++++++++++++- |
1 files changed, 16 insertions(+), 1 deletions(-)