[Lldb-commits] [lldb] Fix a bug in handling ^C at the "y/n/a" completion prompt. (PR #67621)

via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 27 17:12:36 PDT 2023


github-actions[bot] wrote:


<!--LLVM CODE FORMAT COMMENT: {darker}-->

:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r 22433cc541ff706d9e845774ef1c8c959dc67799..fab5e1f67433a29a5d54198d83960d7e608dc480 lldb/test/API/iohandler/completion/TestIOHandlerCompletion.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- TestIOHandlerCompletion.py	2023-09-28 00:07:33.000000 +0000
+++ TestIOHandlerCompletion.py	2023-09-28 00:12:29.727805 +0000
@@ -76,11 +76,11 @@
         self.expect_prompt()
 
         # Start tab completion and abort showing more commands with '^C'.
         self.child.send("\t")
         self.child.expect_exact("More (Y/n/a)")
-        self.child.sendcontrol('c')
+        self.child.sendcontrol("c")
         self.expect_prompt()
 
         # Shouldn't crash or anything like that.
         self.child.send("regoinvalid\t")
         self.expect_prompt()

``````````

</details>


https://github.com/llvm/llvm-project/pull/67621


More information about the lldb-commits mailing list