Commits


big refactor: introduce the window abstraction - commands now take a struct window* instead of a raw tab - the struct ui_state is gone - using a window for the minibuffer too helps avoid code duplication - it will let us having more than one window on a tab! :DD It doesn't seem to have broken anything...


wrap respecting character widths


fix various warnings, no functional changes now that we have a bounch of -Wxxx flags during compilation, let's fix everything.


ensure variables are initialized before calling emitline


refactoring + move wrapping logic to its own file