Allow bash to take multiline input (#2791)

This commit is contained in:
panpawn 2016-09-28 02:53:55 -04:00 committed by Guangcong Luo
parent e853a61d58
commit 12052dee7c

View File

@ -3358,7 +3358,7 @@ let commands = exports.commands = {
process.nextTick(() => {
// We might want to migrate most of this to a JSON schema of command attributes.
CommandParser.multiLinePattern.register(
'>>>? ', '/(?:room|staff)intro ', '/(?:staff)?topic ', '/adddatacenters '
'>>>? ', '/(?:room|staff)intro ', '/(?:staff)?topic ', '/adddatacenters ', '/bash '
);
let globalCmds = new Set([