Skip to content

Commit

Permalink
Display command is incorrect when use here document, fixes #607
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed Nov 25, 2020
1 parent 0ba7e81 commit bb5e85a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4006,7 +4006,7 @@ public AttributedString getDisplayedBufferWithPrompts(List<AttributedString> sec
AttributedStringBuilder full = new AttributedStringBuilder().tabs(TAB_WIDTH);
full.append(prompt);
full.append(tNewBuf);
if (doAutosuggestion) {
if (doAutosuggestion && !isTerminalDumb()) {
String lastBinding = getLastBinding() != null ? getLastBinding() : "";
if (autosuggestion == SuggestionType.HISTORY) {
AttributedStringBuilder sb = new AttributedStringBuilder();
Expand Down

0 comments on commit bb5e85a

Please sign in to comment.