Skip to content

Commit

Permalink
The conemu activation should only be used when in conemu...
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jan 29, 2018
1 parent 7410619 commit 9d73f85
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ public AbstractWindowsTerminal(Writer writer, String name, String type, Charset
closer = this::close;
ShutdownHooks.add(closer);
// ConEMU extended fonts support
if (!Boolean.getBoolean("org.jline.terminal.conemu.disable-activate")) {
if (TYPE_WINDOWS_256_COLOR.equals(getType())
&& !Boolean.getBoolean("org.jline.terminal.conemu.disable-activate")) {
writer.write("\u001b[9999E");
writer.flush();
}
Expand Down

0 comments on commit 9d73f85

Please sign in to comment.