diff options
| author | WormHeamer | 2026-01-02 03:12:21 -0500 |
|---|---|---|
| committer | WormHeamer | 2026-01-02 03:12:21 -0500 |
| commit | e46cc3125e9feb52788ae7ab37d1119053978af0 (patch) | |
| tree | 40f7f3fa02a50f9b83649600f3d32c0d99f7f6ff | |
| parent | 37f020979b7e71b1be8624b4570241c004fc9a95 (diff) | |
belay that; show readonly buffers as cyan
| -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(); { |
