ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.381 by root, Fri Dec 14 05:25:23 2007 UTC vs.
Revision 1.384 by ayin, Tue Dec 18 13:07:55 2007 UTC

198 r & RS_Uline ? " uline" : "", 198 r & RS_Uline ? " uline" : "",
199 r & RS_Careful ? " careful" : ""); 199 r & RS_Careful ? " careful" : "");
200 200
201 int width = wcswidth (fname, wcslen (fname)); 201 int width = wcswidth (fname, wcslen (fname));
202 202
203 max_it (width, 8+5); // for char + hey 203 max_it (width, 8+5); // for char + hex
204 max_it (width, strlen (attr)); 204 max_it (width, strlen (attr));
205 205
206 if (y >= 0) 206 if (y >= 0)
207 { 207 {
208 y = (y >= nrow - len - 4 && x < width + 2) ? 0 : -1; 208 y = (y >= nrow - len - 4 && x < width + 2) ? 0 : -1;
1047void 1047void
1048rxvt_term::refresh_check () 1048rxvt_term::refresh_check ()
1049{ 1049{
1050 if (want_refresh && !flush_ev.is_active ()) 1050 if (want_refresh && !flush_ev.is_active ())
1051 flush_ev.start (1. / 60.); // refresh at max. 60 Hz normally 1051 flush_ev.start (1. / 60.); // refresh at max. 60 Hz normally
1052
1053 display->flush ();
1052} 1054}
1053 1055
1054void 1056void
1055rxvt_term::flush_cb (ev::timer &w, int revents) 1057rxvt_term::flush_cb (ev::timer &w, int revents)
1056{ 1058{
1209 if (cmd_parse ()) 1211 if (cmd_parse ())
1210 break; 1212 break;
1211 1213
1212 if (revents & ev::WRITE) 1214 if (revents & ev::WRITE)
1213 pty_write (); 1215 pty_write ();
1216
1217 refresh_check ();
1214} 1218}
1215 1219
1216void 1220void
1217rxvt_term::pointer_unblank () 1221rxvt_term::pointer_unblank ()
1218{ 1222{
2308 } 2312 }
2309 2313
2310 ch = NOCHAR; 2314 ch = NOCHAR;
2311 } 2315 }
2312 } 2316 }
2313
2314 refresh_check ();
2315 2317
2316 return flag; 2318 return flag;
2317} 2319}
2318 2320
2319// read the next character 2321// read the next character

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines