AppliedLogicSystems / ALSProlog

ALS Prolog Compiler & Development Environment
https://alsprolog.com
MIT License
16 stars 9 forks source link

Remove secondary prompt from examples for easier copy-paste. #182

Closed chuckhoupt closed 4 years ago

chuckhoupt commented 4 years ago

Long interactive examples are line-wrapped, which causes the shell to output the secondary prompt (?_). This prevents the examples from being easily copy and pasted.

Removing the secondary prompt makes the examples copy-paste-able and more readable, at the expense of not being completely true to life accurate.

[Note that currently Linenoise has its own issues with multi-line pasting, but there appear to be patches available to fix it.]