@@ -165,19 +165,19 @@ int main()
165165
166166 // Test tputs with negative speed
167167 printf ("Testing tputs with negative speed (high speed)...\n" );
168- ospeed = 200 ; // Very high speed value
168+ ospeed = 200 ; // Very high speed value
169169 tputs ("50delay" , 1 , putchar );
170170 printf ("tputs with high speed executed\n" );
171- ospeed = 13 ; // Reset to normal
171+ ospeed = 13 ; // Reset to normal
172172
173173 // Test tparam with various format strings
174174 printf ("Testing tparam with various format strings...\n" );
175-
175+
176176 // Test with %% (escape percent)
177177 char pb1 [256 ];
178178 char * pr1 = tparam ("test%%value" , pb1 , sizeof (pb1 ), 0 , 0 );
179179 printf ("tparam with %%%%: %s\n" , pr1 ? pr1 : "NULL" );
180-
180+
181181 // Test with %d
182182 char pb2 [256 ];
183183 char * pr2 = tparam ("val=%d" , pb2 , sizeof (pb2 ), 5 , 0 );
@@ -222,10 +222,10 @@ int main()
222222
223223 // Test more tgetflag cases
224224 printf ("Testing more tgetflags...\n" );
225- int pt_val = tgetflag ("pt" ); // has tab stop
225+ int pt_val = tgetflag ("pt" ); // has tab stop
226226 printf ("Tab stop (pt): %d\n" , pt_val );
227227
228- int xs_val = tgetflag ("xs" ); // standout not erasable
228+ int xs_val = tgetflag ("xs" ); // standout not erasable
229229 printf ("Standout not erasable (xs): %d\n" , xs_val );
230230
231231 // Test tgetent with unknown terminal
@@ -254,48 +254,48 @@ int main()
254254
255255 // Test tgetstr to get more capabilities for better coverage
256256 printf ("Testing more string capabilities...\n" );
257-
257+
258258 // Get clear screen command
259259 char * cl = tgetstr ("cl" , NULL );
260260 if (cl )
261261 {
262262 printf ("Got clear screen (cl)\n" );
263263 free (cl );
264264 }
265-
265+
266266 // Get cursor up
267267 char * ku = tgetstr ("ku" , NULL );
268268 if (ku )
269269 {
270270 printf ("Got cursor up (ku)\n" );
271271 free (ku );
272272 }
273-
273+
274274 // Get insert char
275275 char * ic = tgetstr ("ic" , NULL );
276276 if (ic )
277277 {
278278 printf ("Got insert char (ic)\n" );
279279 free (ic );
280280 }
281-
281+
282282 // Get delete char
283283 char * dc = tgetstr ("dc" , NULL );
284284 if (dc )
285285 {
286286 printf ("Got delete char (dc)\n" );
287287 free (dc );
288288 }
289-
289+
290290 // Test tgoto with different coordinates
291291 printf ("Testing tgoto with various coordinates...\n" );
292- char * pos1 = tgoto ("cm" , 0 , 0 ); // Top-left
292+ char * pos1 = tgoto ("cm" , 0 , 0 ); // Top-left
293293 printf ("Goto 0,0: %s\n" , pos1 ? pos1 : "NULL" );
294-
295- char * pos2 = tgoto ("cm" , 79 , 23 ); // Bottom-right
294+
295+ char * pos2 = tgoto ("cm" , 79 , 23 ); // Bottom-right
296296 printf ("Goto 79,23: %s\n" , pos2 ? pos2 : "NULL" );
297-
298- char * pos3 = tgoto ("cm" , 40 , 12 ); // Center
297+
298+ char * pos3 = tgoto ("cm" , 40 , 12 ); // Center
299299 printf ("Goto 40,12: %s\n" , pos3 ? pos3 : "NULL" );
300300
301301 // Test tgetent error conditions
0 commit comments