On Tue, May 10, 2011 at 8:30 PM, Reiner Pope <reiner.p...@gmail.com> wrote:
> I'm currently working on making the layout of yi windows more flexible by > the user (see Issue 348). Among other things, I would like to have my > windows side-by-side as well as stacked on top of each other. My basic > design has been to add a layout manager to the Yi.Tab.Tab datatype, which is > responsible for dividing up the available space among the open windows. Awesome! > All 'Window's are regular. That is, remove 'isMini' from the 'Window' > datatype. > Create a new 'MiniWindow' type, which supports only the appropriate features > (in particular, it can't access regular buffers) > There is a global 'MiniWindow' for yi. Put it in to the 'Editor' datatype: > > data Editor = Editor { ... minibuffer :: MiniWindow ... } I tend to look to Vim and Emacs for how these sorts of things should work. Since they both have the same behavior, I definitely support changing Yi to match that. Furthermore, this seems like the appropriate implementation. +1 -- Jeff Wheeler Undergraduate, Electrical Engineering University of Illinois at Urbana-Champaign -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel