… | |
… | |
3796 | while (*s) |
3796 | while (*s) |
3797 | scr_overlay_set (x++, y, *s++); |
3797 | scr_overlay_set (x++, y, *s++); |
3798 | } |
3798 | } |
3799 | |
3799 | |
3800 | void |
3800 | void |
|
|
3801 | rxvt_term::scr_overlay_set (int x, int y, const wchar_t *s) |
|
|
3802 | { |
|
|
3803 | while (*s) |
|
|
3804 | { |
|
|
3805 | text_t t = *s++; |
|
|
3806 | int width = wcwidth (t); |
|
|
3807 | |
|
|
3808 | while (width--) |
|
|
3809 | { |
|
|
3810 | scr_overlay_set (x++, y, t); |
|
|
3811 | t = NOCHAR; |
|
|
3812 | } |
|
|
3813 | } |
|
|
3814 | } |
|
|
3815 | |
|
|
3816 | void |
3801 | rxvt_term::scr_swap_overlay () |
3817 | rxvt_term::scr_swap_overlay () |
3802 | { |
3818 | { |
3803 | if (!ov_text) |
3819 | if (!ov_text) |
3804 | return; |
3820 | return; |
3805 | |
3821 | |