Closed Pan6ora closed 1 year ago
I think WindowManager.add() is not working as intended when given a string to the assign argument.
assign
Sorry by advance if y misunderstood how it is supposed to work.
getattr(self.layout, assign) actually does the same thing, since Layout's getattr is overridden to allow finding slots:
getattr(self.layout, assign)
Layout
getattr
https://github.com/bczsalba/pytermgui/blob/eb2350ce93313291c4c4a25c475ff4e504c831ba/pytermgui/window_manager/layouts.py#L381-L391
Thank you for the effort though!
I think WindowManager.add() is not working as intended when given a string to the
assign
argument.Sorry by advance if y misunderstood how it is supposed to work.