X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2FTApplication.java;h=20406b1f8e82aa654efa86081c085d5f3883af03;hb=00691e80f2f135f92be739e2b7e86775a2357276;hp=161e161ab8cecaa6ecfcab62ff444761de75850f;hpb=978a5d8f650488c8840d54ccc3032599ca50a084;p=nikiroo-utils.git diff --git a/src/jexer/TApplication.java b/src/jexer/TApplication.java index 161e161..20406b1 100644 --- a/src/jexer/TApplication.java +++ b/src/jexer/TApplication.java @@ -3317,7 +3317,7 @@ public class TApplication implements Runnable { public final TTerminalWindow openTerminal(final int x, final int y, final int flags, final String commandLine) { - return new TTerminalWindow(this, x, y, flags, commandLine.split("\\s")); + return new TTerminalWindow(this, x, y, flags, commandLine.split("\\s+")); } /** @@ -3334,7 +3334,7 @@ public class TApplication implements Runnable { public final TTerminalWindow openTerminal(final int x, final int y, final int flags, final String commandLine, final boolean closeOnExit) { - return new TTerminalWindow(this, x, y, flags, commandLine.split("\\s"), + return new TTerminalWindow(this, x, y, flags, commandLine.split("\\s+"), closeOnExit); }