diff --git a/news/multil.rst b/news/multil.rst new file mode 100644 index 000000000..10d923680 --- /dev/null +++ b/news/multil.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* Unset the default line continuation environment variables (``$MULTILINE_PROMPT_PRE`` and ``$MULTILINE_PROMPT_POS``) to allow differentiating between user setting an empty value and not setting anything + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +* diff --git a/xonsh/environ.py b/xonsh/environ.py index 3e8bacb45..16e76e6f2 100644 --- a/xonsh/environ.py +++ b/xonsh/environ.py @@ -1390,7 +1390,7 @@ class PromptSetting(Xettings): is_string_or_callable, ensure_string, ensure_string, - "", + DefaultNotGiven, "Indicator inserted before the line continuation marks set " "in ``$MULTILINE_PROMPT``. Can be used to mark the start of " "a semantic continuation prompt " @@ -1402,7 +1402,7 @@ class PromptSetting(Xettings): is_string_or_callable, ensure_string, ensure_string, - "", + DefaultNotGiven, "Indicator inserted after the line continuation marks set " "in ``$MULTILINE_PROMPT``. Can be used to mark the end of " "a semantic continuation prompt and the beginning of user input "