We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81d9bc1 commit 3d61bb1Copy full SHA for 3d61bb1
mathics_scanner/generate/rl_inputrc.py
@@ -18,7 +18,10 @@ def _escape(s: str) -> str:
18
def _format(c: str, use_unicode: bool) -> str:
19
"""Formats a single key-value pair"""
20
key = _escape(c)
21
- val = _escape(r(aliased_characters[c], use_unicode=use_unicode))
+ if key == "nl":
22
+ val = "\\n"
23
+ else:
24
+ val = _escape(r(aliased_characters[c], use_unicode=use_unicode))
25
26
return f'"\\e{key}\\e": "{val}"\n'
27
0 commit comments