Fix nested commands in interactive mode triggering prompt2 (issue #19)

Save and restore cmd_mode across interpolation parsing so that
luaX_readcommandcont resumes in the correct mode after a nested
backtick command inside ${...}.
This commit is contained in:
Cormac Shannon
2026-03-05 00:13:34 +00:00
parent b3aa1d9c63
commit c96fae90c0
4 changed files with 12 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# 19 — Nested commands in interactive mode trigger prompt2
**Status:** open
**Status:** done
Running nested commands in an interactive command drops into prompt2 when it shouldn't: