Skip to content

Commit

Permalink
Merge 0da6bdd into 45d3bb7
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger committed Jun 11, 2019
2 parents 45d3bb7 + 0da6bdd commit db99eef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/crate/crash/repl.py
Expand Up @@ -279,7 +279,8 @@ def accept(buff):
completer=SQLCompleter(cmd),
enable_history_search=True,
accept_handler=accept,
on_text_insert=Capitalizer(cmd).apply_capitalization
on_text_insert=Capitalizer(cmd).apply_capitalization,
tempfile_suffix=lambda: '.sql'
)
buffer.complete_while_typing = lambda cli=None: cmd.should_autocomplete()
return buffer
Expand Down

0 comments on commit db99eef

Please sign in to comment.