1
0
Fork 0

Enable suspend using C-Z. (#970)

* Enable suspend using C-Z.

* Update changelog.
This commit is contained in:
Amjith Ramanujam 2018-11-17 19:41:34 -08:00 committed by Irina Truong
parent 0f0be9deab
commit 923f2d6441
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Bug fixes:
* Fix for loading/saving named queries from provided config file (#938). (Thanks: `Daniel Egger`_)
* Set default port in `connect_uri` when none is given. (Thanks: `Daniel Egger`_)
* Fix for error listing databases (#951). (Thanks: `Irina Truong`_)
* Enable Ctrl-Z to suspend the app (Thanks: `Amjith Ramanujam`_).
Internal:
---------
@ -830,7 +831,7 @@ Improvements:
* Faster test runs on TravisCI. (Thanks: https://github.com/macobo)
* Integration tests with Postgres!! (Thanks: https://github.com/macobo)
.. _`Amjith Ramanujam`: https://github.com/amjith
.. _`Amjith Ramanujam`: https://blog.amjith.com
.. _`Andrew Kuchling`: https://github.com/akuchling
.. _`Darik Gamble`: https://github.com/darikg
.. _`Daniel Rocco`: https://github.com/drocco007

View File

@ -729,6 +729,7 @@ class PGCli(object):
key_bindings=key_bindings,
enable_open_in_editor=True,
enable_system_prompt=True,
enable_suspend=True,
editing_mode=EditingMode.VI if self.vi_mode else EditingMode.EMACS,
search_ignore_case=True)