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 committed 2026-03-05 00:13:34 +00:00
1 parent b3aa1d9c63
commit c96fae90c0
4 files changed
+12 -1

No files matched your search

+1 -1
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: