mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
Merge branch 'main' into benchmarks
This commit is contained in:
+13
-5
@@ -1,6 +1,14 @@
|
||||
a = BrokenPipeError()
|
||||
def q(f):
|
||||
print(id(f))
|
||||
from argenta.app import AutoCompleter
|
||||
|
||||
print(id(a))
|
||||
q(a)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_commands: set[str] = {"start", "qwertyu", "stop", "exit"}
|
||||
hist_file: str = "history.txt"
|
||||
|
||||
ac: AutoCompleter = AutoCompleter(autocomplete_button='tab')
|
||||
ac.initial_setup(test_commands)
|
||||
|
||||
while True:
|
||||
inp: str = ac.prompt(">>> ").strip()
|
||||
if inp == "exit":
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user