Add bold off SGR - st - Personal fork of st
 (HTM) git clone git://git.drkhsh.at/st.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 6cb6d61525931c88971cce323f63e40451a6d365
 (DIR) parent 5a10aca702bf7bc9094cb4abaea6c59558740d29
 (HTM) Author: Quentin Rameau <quinq@fifth.space>
       Date:   Sun, 28 May 2017 09:56:57 +0200
       
       Add bold off SGR
       
       Diffstat:
         M st.c                                |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/st.c b/st.c
       @@ -1402,6 +1402,9 @@ tsetattr(int *attr, int l)
                        case 9:
                                term.c.attr.mode |= ATTR_STRUCK;
                                break;
       +                case 21:
       +                        term.c.attr.mode &= ~ATTR_BOLD;
       +                        break;
                        case 22:
                                term.c.attr.mode &= ~(ATTR_BOLD | ATTR_FAINT);
                                break;