From: Matthew Mondor Date: Fri, 7 Mar 2025 22:43:52 +0000 (+0000) Subject: AnalogTerm2: Increase max limit of -r (refresh rate) to allow as low as 5 FPS X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=8ae487f2cc49d5b85be9ed6c1af6e463857695f4;p=mmondor.git AnalogTerm2: Increase max limit of -r (refresh rate) to allow as low as 5 FPS --- diff --git a/mmsoftware/analogterm2/src/main.c b/mmsoftware/analogterm2/src/main.c index b52eac2..1b934aa 100644 --- a/mmsoftware/analogterm2/src/main.c +++ b/mmsoftware/analogterm2/src/main.c @@ -231,8 +231,8 @@ usage(void) " The mode can also be changed using the ESC sequences:\n" " [?658467;65536h (color), [?658467;65537h (mono).\n" " -W - Toggle X zoom between wide (2x) and condensed (1.5x)\n" - " -r - Set the maximum screen refresh speedin microseconds.\n" - " Limits: 11111 (90fps) - 100000 (10fps). This is also a\n" + " -r - Set the maximum screen refresh speed in microseconds.\n" + " Limits: 11111 (90fps) - 200000 (5fps). This is also a\n" " general timing source that also affects the text/cursor\n" " blinking rate settings -B/-T and the speed of smooth\n" " scrolling when enabled. Low settings save CPU but will\n" @@ -413,7 +413,7 @@ main(int argc, char **argv, char **envp) cfg_condensed = !cfg_condensed; break; case 'r': - if ((i = atoi(optarg)) >= 11111 && i <= 100000) + if ((i = atoi(optarg)) >= 11111 && i <= 200000) cfg_refreshspeed = i; break; case 'R':