… | |
… | |
1296 | dTermGC; |
1296 | dTermGC; |
1297 | |
1297 | |
1298 | int w = term->fwidth * len; |
1298 | int w = term->fwidth * len; |
1299 | int h = term->fheight; |
1299 | int h = term->fheight; |
1300 | |
1300 | |
1301 | /* |
|
|
1302 | * Maybe make buffering into a resource flag? Compile time option doesn't seems like a |
|
|
1303 | * good idea from the perspective of packaging for wide variety of user configs. |
|
|
1304 | */ |
|
|
1305 | bool buffered = bg >= Color_transparent; |
1301 | bool buffered = bg >= Color_transparent |
1306 | #ifdef FORCE_UNBUFFERED_XFT |
1302 | && term->option (Opt_buffered); |
1307 | buffered = false; |
|
|
1308 | #endif |
|
|
1309 | |
1303 | |
1310 | // cut trailing spaces |
1304 | // cut trailing spaces |
1311 | while (len && text [len - 1] == ' ') |
1305 | while (len && text [len - 1] == ' ') |
1312 | len--; |
1306 | len--; |
1313 | |
1307 | |