Revert the bespoke __prompt()/__prompt2() function mechanism from issue #09 and return to stock Lua's _PROMPT/_PROMPT2 globals (which already support dynamic prompts via __tostring metatables). Set default _PROMPT = "lush> " in doREPL if not already defined by config.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 21 — Prompt redesign
|
||||
|
||||
**Status:** open
|
||||
**Status:** done
|
||||
|
||||
Reconsider the prompt system. Some observations:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user