diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -529,7 +529,7 @@ void draw_buf(EditBuf *eb) { VuiAttr txt = A_DEFAULT; VuiAttr trailsp = BG_BLUE | FG_DEFAULT; VuiAttr sel = norm | A_REVERSE; - if (eb->type != ED_BUF_FILE) txt |= A_ITALIC; + if (eb->txt->readonly) txt = FG_CYAN | BG_DEFAULT; vui_clear(); { |
