mirror of
https://github.com/ksherlock/mpw-shell.git
synced 2025-07-24 21:24:48 +00:00
allow break within loop ... end
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user