diff options
-rw-r--r-- | TODO | 1 | ||||
-rwxr-xr-x | pgcli/main.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ # vi: ft=vimwiki * [o] Separate the column completions to be table specific. (SELECT, INSERT, UPDATE) * [ ] Column completion for nested sql. +* [ ] Default host should not be set to localhost. Since it causes problems in IPv6 machines. Need to research this one further. * [ ] Add JOIN to the list of keywords and provide proper autocompletion for it. * [ ] Use a pager to display the output. (Check Click's document). * [ ] Improve the smart completion for Insert statement. (Needs table specific columns) diff --git a/pgcli/main.py b/pgcli/main.py index be2b449b..db1f9001 100755 --- a/pgcli/main.py +++ b/pgcli/main.py @@ -55,7 +55,7 @@ def cli(database, user, password, host, port): click.secho(e.message, err=True, fg='red') exit(1) layout = Layout(before_input=DefaultPrompt('%s> ' % pgexecute.dbname), - menus=[CompletionsMenu()], + menus=[CompletionsMenu(max_height=10)], lexer=SqlLexer, bottom_toolbars=[ PGToolbar()]) |