ebpa / tui.el

An experimental text-based UI framework for Emacs modeled after React - **requires emacs 26.1 or newer**
GNU General Public License v3.0
183 stars 6 forks source link

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

Closed ag91 closed 1 year ago

ag91 commented 2 years ago

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!

ebpa commented 1 year ago

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!