History log of /netbsd-src/games/sail/array.c (Results 1 – 2 of 2)
Revision Date Author Comments
# a373ad58 29-Oct-2021 nia <nia@NetBSD.org>

sail(6): convert realloc(x * y) to reallocarr


# 87d1d157 15-Mar-2009 dholland <dholland@NetBSD.org>

Rework curses handling.

The most visible change is that the scrolling buffer of messages now
actually scrolls and keeps history, and you type on the bottom line only.
For now you can page through th

Rework curses handling.

The most visible change is that the scrolling buffer of messages now
actually scrolls and keeps history, and you type on the bottom line only.
For now you can page through the history with ^P/^N; that's not ideal but
one can't fix everything all at once.

Use resizeable array code (roughly the same that I floated a while ago
in connection with make) to hold the scroll.

show more ...