chiark / gitweb /
Delete some of my commented-out prototype code.
authorSimon Tatham <anakin@pobox.com>
Thu, 28 Dec 2023 09:01:13 +0000 (09:01 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 28 Dec 2023 09:06:16 +0000 (09:06 +0000)
commit18f91f2c9ea47b10c014443b4234ca96382032a5
tree1a26cdb0da913e0a7d2bb06fa95119da997eab4e
parentbb68e505707c6cb99b2411be15960a6187a2799d
Delete some of my commented-out prototype code.

The new Tui structure now replicates almost all the useful
functionality of that. The only exception is the extra loop where we
re-split each line returned from render() to the screen width, in case
it's overlong. But that can't be centralised into the current code: it
will have to live in the draw() method of ActivityState types that
need it (particularly, those rendering paragraphs), because they'll
need to know when it happened in order to count screen lines
correctly.
src/main.rs