shithub: orca

Download patch

ref: e5df1353e317512f863fb22d04b2a46c594dd894
parent: 2361cef2cb7fb67c7f245d8b775a5b57b44814c4
author: cancel <cancel@cancel.fm>
date: Sun Dec 2 08:46:11 EST 2018

Tweak display

--- a/tui_main.c
+++ b/tui_main.c
@@ -41,6 +41,7 @@
   A_normal = A_NORMAL,
   A_bold = A_BOLD,
   A_dim = A_DIM,
+  A_reverse = A_REVERSE,
 } Term_attr;
 
 ORCA_FORCE_INLINE
@@ -116,8 +117,11 @@
   if (gclass != Glyph_class_comment && (m & Mark_flag_lock)) {
     attr = A_dim | Cdef_normal;
   }
+  if (m & Mark_flag_output) {
+    attr = A_reverse;
+  }
   if (m & Mark_flag_haste_input) {
-    attr = A_bold | fg_bg(C_green, C_natural);
+    attr = A_bold | fg_bg(C_cyan, C_natural);
   }
   return (chtype)((int)g | attr);
 }