mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
Add keywords to TuiWindow.write
The gdb docs promise that methods with more than two or more arguments will accept keywords. However, I found that TuiWindow.write didn't allow them. This patch adds the missing support.
This commit is contained in:
@@ -32,7 +32,8 @@ class TestWindow:
|
||||
self.win.erase()
|
||||
w = self.win.width
|
||||
h = self.win.height
|
||||
self.win.write("Test: " + str(self.count) + " " + str(w) + "x" + str(h))
|
||||
self.win.write(string="Test: " + str(self.count) + " " + str(w) + "x" + str(h),
|
||||
full_window=False)
|
||||
self.count = self.count + 1
|
||||
|
||||
# Tries to delete the title attribute. GDB will throw an error.
|
||||
|
||||
Reference in New Issue
Block a user