From f799eb6d8154899f223ecd344df64aa308248c63 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Wed, 23 Nov 2022 18:26:30 -0500 Subject: [PATCH] allow break within loop ... end --- command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.cpp b/command.cpp index 7c88fd1..ce8ad7d 100644 --- a/command.cpp +++ b/command.cpp @@ -716,7 +716,7 @@ int loop_command::execute(Environment &env, const fdmask &fds, bool throwup) { if (control_c) throw execution_of_input_terminated(); try { - env.indent_and([&]{ + env.loop_indent_and([&]{ rv = vector_command::execute(env, newfds); }); }