petereon / beaupy

A Python library of interactive CLI elements you have been looking for
https://petereon.github.io/beaupy/
MIT License
200 stars 13 forks source link

100% cpu usage #78

Closed amiguet closed 1 year ago

amiguet commented 1 year ago

Hello,

Just discovering beaupy, nice useful project!

However, even a simplistic code like

from beaupy import select

item_options = [
    "o1",
    "o2",
    "o3",
]
items = select(item_options)

uses 100% of my cpu.

Python 3.11.5 on Linux, beaupy 3.6.0 installed in a venv via pip.

Any idea what is happening?

petereon commented 1 year ago

Never had this happen. I will try to reproduce this today.

EDIT: Apparently this happens for any version I just never noticed. I believe this is a yakh bug, would you reopen there?.

amiguet commented 1 year ago

Yeah, I just noticed this comes from yakh. Closing here, opening there!