From e46cc3125e9feb52788ae7ab37d1119053978af0 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Fri, 2 Jan 2026 03:12:21 -0500 Subject: belay that; show readonly buffers as cyan --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 151f2cd..e64b8d9 100644 --- a/main.c +++ b/main.c @@ -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(); { -- cgit v1.2.3