1
0
mirror of https://github.com/dbcli/pgcli synced 2024-06-24 02:03:20 +00:00
pgcli/pgcli
Owen Stephens 7f44748149 Handle a multi-line query on Enter key-press (fixes #1031)
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)
2019-10-13 01:07:57 +01:00
..
packages black all the things. (#1049) 2019-05-25 13:08:56 -07:00
__init__.py Releasing version 2.1.1 2019-05-30 17:11:03 -07:00
completion_refresher.py black all the things. (#1049) 2019-05-25 13:08:56 -07:00
config.py black all the things. (#1049) 2019-05-25 13:08:56 -07:00
encodingutils.py black all the things. (#1049) 2019-05-25 13:08:56 -07:00
key_bindings.py Handle a multi-line query on Enter key-press (fixes #1031) 2019-10-13 01:07:57 +01:00
magic.py black all the things. (#1049) 2019-05-25 13:08:56 -07:00
main.py Handle a multi-line query on Enter key-press (fixes #1031) 2019-10-13 01:07:57 +01:00
pgbuffer.py Handle a multi-line query on Enter key-press (fixes #1031) 2019-10-13 01:07:57 +01:00
pgclirc Issue 1018 display first 1k rows (#1092) 2019-08-23 13:44:36 -07:00
pgcompleter.py black all the things. (#1049) 2019-05-25 13:08:56 -07:00
pgexecute.py Get server params, such as is_superuser and server_version, without extra queries. 2019-08-28 08:26:24 -07:00
pgstyle.py black all the things. (#1049) 2019-05-25 13:08:56 -07:00
pgtoolbar.py black all the things. (#1049) 2019-05-25 13:08:56 -07:00