We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bb2019 commit 268b4a4Copy full SHA for 268b4a4
tools/OBCEditor/OBCEditor.py
@@ -93,6 +93,7 @@ def main():
93
print("Enter 'strings' to display strings in the OBC Script.")
94
print("Enter 'save' to save changes and exit.")
95
print("Enter 'help' to display help how to modify OBC Script.")
96
+ print("Enter 'clear' to clear the Console output")
97
print("Enter 'exit' to exit without saving.")
98
99
choice = input("Your choice: ").lower()
@@ -129,6 +130,8 @@ def main():
129
130
print(f"{i+1}. 0x{offset:08X}")
131
elif choice == 'strings':
132
display_strings(content)
133
+ elif choice == 'clear':
134
+ print("\033[2J\033[H")
135
elif choice == 'save':
136
# Get the current year
137
current_year = str(datetime.datetime.now().year)
0 commit comments