mirror of
https://github.com/dbcli/pgcli
synced 2024-06-24 02:03:20 +00:00
7f44748149
Use a (conditional) Enter key-binding to force-handle a multi-line buffer, rather than doing so by (conditionally) disabling the multiline mode of prompt_toolkit. This has the benefit of being more efficient (the multiline Condition filter is called very often, which (due to the repeated query parsing) causes editing to become slow with a large buffer that ends in a semicolon), clearer in intent (we want to force-handle the query, rather than (temporarily) disable multiline mode which indirectly forces the buffer to be handled) and avoids a bug in multi-line history search (issue #1031) |
||
---|---|---|
.. | ||
packages | ||
__init__.py | ||
completion_refresher.py | ||
config.py | ||
encodingutils.py | ||
key_bindings.py | ||
magic.py | ||
main.py | ||
pgbuffer.py | ||
pgclirc | ||
pgcompleter.py | ||
pgexecute.py | ||
pgstyle.py | ||
pgtoolbar.py |