Skip to content

Commit c4c0798

Browse files
committed
Change the break-trigger for IEx to #iex:break
1 parent 392a2fb commit c4c0798

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/iex/lib/iex/helpers.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ defmodule IEx.Helpers do
5353
incomplete expression with no ability to terminate it other than by exiting
5454
the shell.
5555
56-
For such cases, there is a special break-trigger ("#!break") that when
56+
For such cases, there is a special break-trigger ("#iex:break") that when
5757
encountered on a line by itself will force the shell to break out of any
5858
pending expression and return to its normal state:
5959
6060
iex(1)> ["ab
6161
...(1)> c"
6262
...(1)> "
6363
...(1)> ]
64-
...(1)> #!break
64+
...(1)> #iex:break
6565
** (TokenMissingError) iex:1: incomplete expression
6666
...
6767

lib/iex/lib/iex/server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ defmodule IEx.Server do
5555
# break out from a pending incomplete expression. See
5656
# https://github.com/elixir-lang/elixir/issues/1089 for discussion.
5757
#
58-
@break_trigger '#!break\n'
58+
@break_trigger '#iex:break\n'
5959
defp eval(_, @break_trigger, _, config=IEx.Config[cache: '']) do
6060
# do nothing
6161
config

0 commit comments

Comments
 (0)