AnalogTerm2: Also report leading at startup
authorMatthew Mondor <mmondor@pulsar-zone.net>
Mon, 23 Oct 2023 04:51:39 +0000 (04:51 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Mon, 23 Oct 2023 04:51:39 +0000 (04:51 +0000)
mmsoftware/analogterm2/src/main.c

index 5e85aea..4487b71 100644 (file)
@@ -624,10 +624,11 @@ endopt:
                goto noheader;
 
        state_goto(state, 0, 1);
-       state_printf(state, 0, "(Win: %dx%d, Txt: %dx%d, Fnt: %dx%d)",
+       state_printf(state, 0, "(Wn: %dx%d, Tx: %dx%d, Fn: %dx%d, Ld: %d)",
            screen->pixels_width, screen->pixels_height,
            cfg_text_width, cfg_text_height,
-           cfg_font_width, cfg_font_height);
+           cfg_font_width, cfg_font_height,
+           cfg_leading);
        state_goto(state, 1, 1);
        state_prints(state, "READY", 0);
        state_goto(state, 1, (cfg_text_width / 2) - 17);