Include DEL in characters ncurses will print in ^A form
Bu işleme şunda yer alıyor:
ebeveyn
cf42595515
işleme
9513542c6d
2
buffer.c
2
buffer.c
@ -131,7 +131,7 @@ static int flow(struct Lines *hard, int cols, const struct Line *soft) {
|
||||
} else if (wc == L'\t') {
|
||||
// XXX: Assuming TABSIZE = 8.
|
||||
width += 8 - (width % 8);
|
||||
} else if (wc < L' ') {
|
||||
} else if (wc < L' ' || wc == L'\177') {
|
||||
// XXX: ncurses will render these as "^A".
|
||||
width += 2;
|
||||
} else if (wcwidth(wc) > 0) {
|
||||
|
Yükleniyor…
x
Yeni konuda referans
Bir kullanıcı engelle