mirror of
https://github.com/dbcli/pgcli.git
synced 2024-10-06 10:17:15 +03:00
Increase the height for completion menu.
This commit is contained in:
parent
6df2aa7d3f
commit
6a9efde3e6
1
TODO
1
TODO
@ -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)
|
||||
|
@ -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()])
|
||||
|
Loading…
Reference in New Issue
Block a user