AnalogTerm2: Increase max limit of -r (refresh rate) to allow as low as 5 FPS
authorMatthew Mondor <mmondor@pulsar-zone.net>
Fri, 7 Mar 2025 22:43:52 +0000 (22:43 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Fri, 7 Mar 2025 22:43:52 +0000 (22:43 +0000)
mmsoftware/analogterm2/src/main.c

index b52eac2..1b934aa 100644 (file)
@@ -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':