Skip to content

Commit

Permalink
Add section regarding Pkg mode to REPL docs
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenVavasis authored and musm committed Dec 12, 2020
1 parent 26b73d6 commit e2cdb56
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion stdlib/REPL/docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ and a `julia>` prompt.

### The Julian mode

The REPL has four main modes of operation. The first and most common is the Julian prompt. It
The REPL has five main modes of operation. The first and most common is the Julian prompt. It
is the default mode of operation; each new line initially starts with `julia>`. It is here that
you can enter Julia expressions. Hitting return or enter after a complete expression has been
entered will evaluate the entry and show the result of the last expression.
Expand Down Expand Up @@ -188,6 +188,14 @@ C:\Users\elm>dir
02/02/2020 08:06 <DIR> .atom
```

### Pkg mode

The Package manager mode accepts specialized commands for loading and updating packages. It is entered
by pressing the `]` key at the Julian REPL prompt and exited by pressing CTRL-C or pressing the backspace key
at the beginning of the line. The prompt for this mode is `pkg>`. It supports its own help-mode, which is
entered by pressing `?` at the beginning of the line of the `pkg>` prompt. The Package manager mode is
documented in the Pkg (Package Manager) chapter of the standard library manual.

### Search modes

In all of the above modes, the executed lines get saved to a history file, which can be searched.
Expand Down

0 comments on commit e2cdb56

Please sign in to comment.