From fb319fe4d389adc1d7e3576250705401c67bbf6e Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 13 May 2023 10:11:38 -0700 Subject: [PATCH] wip: Added notes to diffs about user adding main.py file and interrupting response. --- examples/complex-change.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/complex-change.md b/examples/complex-change.md index 659ca7d9f..b33214a7d 100644 --- a/examples/complex-change.md +++ b/examples/complex-change.md @@ -104,7 +104,7 @@ _Applied edit to tests/test_main.py_ _Commit c177e29 aider: Replaced usage of /dev/null with prompt_toolkit's input mocking functions in tests._ --- -> The user adds the main.py file to the chat. Also, the user made a small edit with their editor, outside the chat, and added a missing "import sys". Aider notices and helps commit this change. +> Note: The user adds the main.py file to the chat. Also, the user made a small edit with their editor, outside the chat, and added a missing "import sys". Aider notices and helps commit this change. #### > /add aider/main.py @@ -241,7 +241,7 @@ First, import the necessary classes and functions from `prompt_tool _^C KeyboardInterrupt_ -> The user interrupted the response, since it wasn't providing a useful solution +> Note: The user interrupted the response, since it wasn't providing a useful solution --- #### > class prompt_toolkit.shortcuts.PromptSession(message: AnyFormattedText = '', *, multiline: FilterOrBool = False, wrap_lines: FilterOrBool = True, is_password: FilterOrBool = False, vi_mode: bool = False, editing_mode: EditingMode = , complete_while_typing: FilterOrBool = True, validate_while_typing: FilterOrBool = True, enable_history_search: FilterOrBool = False, search_ignore_case: FilterOrBool = False, lexer: Lexer | None = None, enable_system_prompt: FilterOrBool = False, enable_suspend: FilterOrBool = False, enable_open_in_editor: FilterOrBool = False, validator: Validator | None = None, completer: Completer | None = None, complete_in_thread: bool = False, reserve_space_for_menu: int = 8, complete_style: CompleteStyle = , auto_suggest: AutoSuggest | None = None, style: BaseStyle | None = None, style_transformation: StyleTransformation | None = None, swap_light_and_dark_colors: FilterOrBool = False, color_depth: ColorDepth | None = None, cursor: AnyCursorShapeConfig = None, include_default_pygments_style: FilterOrBool = True, history: History | None = None, clipboard: Clipboard | None = None, prompt_continuation: PromptContinuationText | None = None, rprompt: AnyFormattedText = None, bottom_toolbar: AnyFormattedText = None, mouse_support: FilterOrBool = False, input_processors: list[Processor] | None = None, placeholder: AnyFormattedText | None = None, key_bindings: KeyBindingsBase | None = None, erase_when_done: bool = False, tempfile_suffix: str | Callable[[], str] | None = '.txt', tempfile: str | Callable[[], str] | None = None, refresh_interval: float = 0, input: Input | None = None, output: Output | None = None)