about summary refs log tree commit diff stats
path: root/apps/browse.mu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/browse.mu')
-rw-r--r--apps/browse.mu19
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/browse.mu b/apps/browse.mu
index ab08b232..f442d2a4 100644
--- a/apps/browse.mu
+++ b/apps/browse.mu
@@ -100,6 +100,15 @@ $update-attributes:check-state: {
         # r->current-state == 0 && c == '*'
         start-bold
         copy-to *state, 1
+        break $update-attributes:check-state
+      }
+      compare c, 0x5f  # '_'
+      {
+        break-if-!=
+        # r->current-state == 0 && c == '_'
+        start-bold
+        copy-to *state, 1
+        break $update-attributes:check-state
       }
       break $update-attributes:check-state
     }
@@ -111,7 +120,17 @@ $update-attributes:check-state: {
         # r->current-state == 1 && c == '*'
         reset-formatting
         copy-to *state, 0
+        break $update-attributes:check-state
       }
+      compare c, 0x5f  # '_'
+      {
+        break-if-!=
+        # r->current-state == 1 && c == '_'
+        reset-formatting
+        copy-to *state, 0
+        break $update-attributes:check-state
+      }
+      break $update-attributes:check-state
     }
   }
 }