Skip to content
Snippets Groups Projects
Commit e4cdd4ac authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Rename sbbs_t::ansi_getlines() to ansi_getdims(), add sbbs_t::getdimensions()

Add JS console.ansi_getdims()

Use sbbs_t::getdimensions() or JS console.getdimensions() to move user
cols/rows values to run-time console values (querying ANSI terminal if
appropriate/supported).

JS console.pushxy(), popxy(), and gotoxy() all return Boolean now.

sbbs_t::getdimensions() and its JS wrapper is now the proper way to propagate
user's cols/rows settings to the run-time console values. This was done
(post-login) only via use of the TERMROWS and TERMCOLS @-codes in
user_settings.js. Weird.
parent 6e30bb63
No related branches found
No related tags found
No related merge requests found
Pipeline #6884 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment