Changeset 16917
- Timestamp:
- 06/26/13 18:05:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Readline.cc
r16916 r16917 366 366 int w, h; 367 367 rl_get_screen_size(&h, &w); 368 if (W!=w || h!=H) 369 { 370 cout << '\r' << string(w+1, ' ') << '\r'; 371 372 W=w; 373 H=h; 374 } 375 376 rl_redisplay(); 368 if (W==w && h==H) 369 { 370 rl_redisplay(); 371 return; 372 } 373 374 cout << '\r' << string(w+1, ' ') << '\r'; 375 376 W=w; 377 H=h; 378 379 rl_forced_update_display(); 377 380 } 378 381
Note:
See TracChangeset
for help on using the changeset viewer.