I'd prefer to make the content field and the methods that deal directly with indexes (index_of, pos_of) private as it may allow us to migrate to more efficient storage approaches than we currently use. For now, I'd prefer to keep this as an additive only change and do the larger things separately after some discussion.
I'd prefer to make the
content
field and the methods that deal directly with indexes (index_of
,pos_of
) private as it may allow us to migrate to more efficient storage approaches than we currently use. For now, I'd prefer to keep this as an additive only change and do the larger things separately after some discussion._Originally posted by @joshka in https://github.com/ratatui-org/ratatui/pull/1084#discussion_r1588893283_