only enable linenoise for -d:nimUseLinenoise (#13478)
* only enable linenoise for -d:nimUseLinenoise * fixup
This commit is contained in:
parent
84e78b4ffc
commit
1cf5c280e3
6 changed files with 13 additions and 9 deletions
|
|
@ -35,7 +35,7 @@ options:
|
|||
By default a debug version is created, passing this option will
|
||||
force a release build, which is much faster and should be preferred
|
||||
unless you are debugging the compiler.
|
||||
-d:useLinenoise
|
||||
-d:nimUseLinenoise
|
||||
Use the linenoise library for interactive mode (not needed on Windows).
|
||||
|
||||
After compilation is finished you will hopefully end up with the nim
|
||||
|
|
|
|||
|
|
@ -528,7 +528,7 @@ for further information.
|
|||
|
||||
The Nim compiler supports an interactive mode. This is also known as
|
||||
a `REPL`:idx: (*read eval print loop*). If Nim has been built with the
|
||||
``-d:useGnuReadline`` switch, it uses the GNU readline library for terminal
|
||||
``-d:nimUseLinenoise`` switch, it uses the GNU readline library for terminal
|
||||
input management. To start Nim in interactive mode use the command
|
||||
``nim secret``. To quit use the ``quit()`` command. To determine whether an input
|
||||
line is an incomplete statement to be continued these rules are used:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue