Small alignment adjustments
This commit is contained in:
parent
cc8e579de0
commit
e4dbde31ed
@ -101,8 +101,8 @@ sub line_update {
|
|||||||
# clear all underlines that were set by us
|
# clear all underlines that were set by us
|
||||||
for (@$rend) {
|
for (@$rend) {
|
||||||
if (urxvt::GET_CUSTOM($_) & UNDERLINED) {
|
if (urxvt::GET_CUSTOM($_) & UNDERLINED) {
|
||||||
$_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_)
|
$_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_) & ~UNDERLINED) &
|
||||||
& ~UNDERLINED) & ~urxvt::RS_Uline;
|
~urxvt::RS_Uline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -113,8 +113,7 @@ sub line_update {
|
|||||||
|
|
||||||
for (@{$rend}[$beg .. $end]) {
|
for (@{$rend}[$beg .. $end]) {
|
||||||
unless ($_ & urxvt::RS_Uline) {
|
unless ($_ & urxvt::RS_Uline) {
|
||||||
$_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_)
|
$_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_) | UNDERLINED);
|
||||||
| UNDERLINED);
|
|
||||||
$_ |= urxvt::RS_Uline;
|
$_ |= urxvt::RS_Uline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user