diff options
author | Amjith Ramanujam <amjith.r@gmail.com> | 2015-08-02 16:25:05 -0700 |
---|---|---|
committer | Amjith Ramanujam <amjith.r@gmail.com> | 2015-08-02 16:28:09 -0700 |
commit | 5fdd831d3ef57c0ce67911bc521c61a664fa45c6 (patch) | |
tree | 28b247cddbc8e03c8ac646343396b3356e7f0f8d | |
parent | ab66202d605ff9f6d462a275179bb6a9ac8ac611 (diff) |
Change the display_completions_in_columns config to wider_completion_menu.
-rwxr-xr-x | pgcli/main.py | 4 | ||||
-rw-r--r-- | pgcli/pgclirc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pgcli/main.py b/pgcli/main.py index 6e9dc1a1..4645fef5 100755 --- a/pgcli/main.py +++ b/pgcli/main.py @@ -71,7 +71,7 @@ class PGCli(object): self.pgspecial.timing_enabled = c['main'].as_bool('timing') self.table_format = c['main']['table_format'] self.syntax_style = c['main']['syntax_style'] - self.display_completions_in_columns = c['main'].as_bool('display_completions_in_columns') + self.wider_completion_menu = c['main'].as_bool('wider_completion_menu') self.logger = logging.getLogger(__name__) self.initialize_logging() @@ -242,7 +242,7 @@ class PGCli(object): reserve_space_for_menu=True, get_prompt_tokens=prompt_tokens, get_bottom_toolbar_tokens=get_toolbar_tokens, - display_completions_in_columns=self.display_completions_in_columns, + display_completions_in_columns=self.wider_completion_menu, extra_input_processors=[ # Highlight matching brackets while editing. ConditionalProcessor( diff --git a/pgcli/pgclirc b/pgcli/pgclirc index 6aa6be27..d6685f82 100644 --- a/pgcli/pgclirc +++ b/pgcli/pgclirc @@ -7,7 +7,7 @@ smart_completion = True # Display the completions in several columns. (More completions will be # visible.) -display_completions_in_columns = False +wider_completion_menu = False # Multi-line mode allows breaking up the sql statements into multiple lines. If # this is set to True, then the end of the statements must have a semi-colon. |