From: Ali Gholami Rudi Date: Mon, 7 May 2012 13:35:38 +0000 (+0430) Subject: term: support \33[23m to disable italics X-Git-Url: https://repo.or.cz/w/fbpad.git/commitdiff_plain/c196e2e3f074939781b2d2cc95638fed037ceb20 term: support \33[23m to disable italics Reported and tested by Sara Fauzia . --- diff --git a/term.c b/term.c index 5e5e9dd..739f6c2 100644 --- a/term.c +++ b/term.c @@ -505,6 +505,9 @@ static void setattr(int m) case 22: mode &= ~ATTR_BOLD; break; + case 23: + mode &= ~ATTR_ITALIC; + break; case 27: mode &= ~ATTR_REV; break;