• xtrn/minesweeper/minesweeper.js

    From Deucе@VERT to Git commit to main/sbbs/master on Tuesday, October 01, 2024 11:09:22
    https://gitlab.synchro.net/main/sbbs/-/commit/b066eb0567296bbc2816ec34
    Modified Files:
    xtrn/minesweeper/minesweeper.js
    Log Message:
    More graphical fixes...

    Force mouse support in graphics mode even if user disabled
    it for the BBS. It would be nice if mouse support in the menus
    was a separate option than "terminal doesn't support mouse",
    and we know the terminal supports the mouse when we detect
    graphics mode.

    Move top/margin/width calculations into separate functions.
    For level 1, center the playboard.

    Fix an apparent off-by-one drawing the title bar.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net