liferooter / textpieces

Quick text processing
GNU General Public License v3.0
203 stars 22 forks source link

Async function hangs the entire program #128

Open sfknhagvkas opened 1 year ago

sfknhagvkas commented 1 year ago

Whenever I run custom script with async function Text Pieces hangs every time, until the script completes execution and then for a while.

image

It would be cool you could add some spinning indicator to show that it's processing, instead of hanging every time.

Example of the code that hangs process ``` #!/usr/bin/env python3 from sys import stdin, stdout, stderr, argv from bing import generate import asyncio input_string = stdin.read() asyncio.run(generate(input_string)) ```
liferooter commented 1 year ago

This issue will be addressed in Text Pieces 4.0 that I'm going to release in the beginning of summer :)

liferooter commented 4 months ago

Unfortunately, my plans to release it in the beginning of summer were too brave, but it will be released soon