Skip to content

Commit

Permalink
Ignore BRACKETED_PASTE if dumb terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Nov 5, 2020
1 parent 1d7fb07 commit 542bfb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2558,7 +2558,7 @@ protected void doCleanup(boolean nl) {
}
terminal.puts(Capability.keypad_local);
terminal.trackMouse(Terminal.MouseTracking.Off);
if (isSet(Option.BRACKETED_PASTE))
if (isSet(Option.BRACKETED_PASTE) && !isTerminalDumb())
terminal.writer().write(BRACKETED_PASTE_OFF);
flush();
}
Expand Down

0 comments on commit 542bfb6

Please sign in to comment.