ebpa / tui.el

An experimental text-based UI framework for Emacs modeled after React - **requires emacs 26.1 or newer**

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Did you mean to return t everytime for tui-render-element?

ag91 opened this issue · comments

Hi!

I was starting playing around with your library and I noticed that in the latest release you always return t in tui-render-element: is that intended? It seemed useful to get the element reference :p

Thanks for this work!

The original design of tui-render-element returned the element reference, but I'd changed it to return t to avoid the minibuffer noise printing the object reference when eval'ing tui expressions. I've changed it back to return an element reference in 0.0.4 that I just pushed.

Thanks for this work!

You're welcome! Sorry for missing your comment!