Changeset 16880
- Timestamp:
- 06/21/13 16:02:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Readline.cc
r16869 r16880 349 349 //! Default: call rl_redisplay() 350 350 // 351 351 352 void Readline::Redisplay() 352 353 { 354 static int W=-1, H=-1; 355 356 int w, h; 357 rl_get_screen_size(&h, &w); 358 if (W!=w || h!=H) 359 { 360 cout << '\r' << string(w+1, ' ') << '\r'; 361 362 W=w; 363 H=h; 364 } 365 353 366 rl_redisplay(); 354 367 }
Note:
See TracChangeset
for help on using the changeset viewer.