withoutboats / notty

A new kind of terminal
GNU Affero General Public License v3.0
2.31k stars 41 forks source link

Reflowable window #50

Closed withoutboats closed 8 years ago

withoutboats commented 8 years ago

Instead of owning a CharGrid directly, a Panel owns a Window, which owns a CharGrid.

The Window implements the logic for determining which cells of the CharGrid to display in the Panel. This includes calculating reflow and also managing moving the window around the CharGrid independently of the cursor (e.g. because the user has scrolled the terminal back to see old output).

severen commented 8 years ago

I think you have a typo in the commit body:

In the future, it will become implement reflow logic.

withoutboats commented 8 years ago

Thanks, fixed the typo.