mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
style: format linter adjustments in io.py for better readability
This commit is contained in:
parent
bff1b3de9c
commit
0a558682d8
1 changed files with 10 additions and 6 deletions
16
aider/io.py
16
aider/io.py
|
@ -258,12 +258,16 @@ class InputOutput:
|
|||
else:
|
||||
style_dict.setdefault("", self.user_input_color)
|
||||
# Add the completion menu styles
|
||||
style_dict.update({
|
||||
"completion-menu": f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}",
|
||||
"completion-menu.completion.current": (
|
||||
f"bg:{self.completion_menu_current_bg_color} {self.completion_menu_current_color}"
|
||||
),
|
||||
})
|
||||
style_dict.update(
|
||||
{
|
||||
"completion-menu": (
|
||||
f"bg:{self.completion_menu_bg_color} {self.completion_menu_color}"
|
||||
),
|
||||
"completion-menu.completion.current": (
|
||||
f"bg:{self.completion_menu_current_bg_color} {self.completion_menu_current_color}"
|
||||
),
|
||||
}
|
||||
)
|
||||
return Style.from_dict(style_dict)
|
||||
else:
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue