Skip to content

Commit

Permalink
Merge branch '2.1' into 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ddanielr committed Jan 13, 2025
2 parents be22dee + b140460 commit f66a514
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shell/src/main/java/org/apache/accumulo/shell/Shell.java
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
import org.jline.terminal.Attributes;
import org.jline.terminal.Terminal;
import org.jline.terminal.TerminalBuilder;
import org.jline.terminal.TerminalBuilder.SystemOutput;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -298,7 +299,8 @@ private AuthenticationToken getAuthenticationToken(String principal, String auth
*/
public boolean config(String... args) throws IOException {
if (this.terminal == null) {
this.terminal = TerminalBuilder.builder().jansi(false).build();
this.terminal =
TerminalBuilder.builder().jansi(false).systemOutput(SystemOutput.SysOut).build();
}
if (this.reader == null) {
this.reader = LineReaderBuilder.builder().terminal(this.terminal).build();
Expand Down

0 comments on commit f66a514

Please sign in to comment.