Skip to content

Commit

Permalink
Support the DISABLE_COMPLETION variable, fixes #201
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jan 7, 2018
1 parent fe2b8c0 commit 2fa2efc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3764,6 +3764,10 @@ protected boolean deleteCharOrList() {
}

protected boolean doComplete(CompletionType lst, boolean useMenu, boolean prefix) {
// If completion is disabled, just bail out
if (getBoolean(DISABLE_COMPLETION, false)) {
return true;
}
// Try to expand history first
// If there is actually an expansion, bail out now
try {
Expand Down

0 comments on commit 2fa2efc

Please sign in to comment.