mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
feat: Add tqdm progress bar for event processing
This commit is contained in:
parent
dba5fb9dfa
commit
3daf632384
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ import re
|
|||
import sys
|
||||
|
||||
import pyte
|
||||
from tqdm import tqdm
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -30,7 +31,7 @@ def main():
|
|||
filtered_events = []
|
||||
|
||||
# Process each event through the terminal emulator
|
||||
for event in events:
|
||||
for event in tqdm(events, desc="Processing events"):
|
||||
# Process the event in the terminal
|
||||
if len(event) >= 3 and event[1] == "o": # Output event
|
||||
stream.feed(event[2])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue