bool draw_mode(struct view *view, mode_t mode) { const char *str = mkmode(mode); return draw_field(view, LINE_MODE, str, STRING_SIZE("-rw-r--r--"), ALIGN_LEFT, FALSE); }
static bool draw_mode(struct view *view, struct view_column *column, mode_t mode) { const char *str = mkmode(mode); if (!column->width || !column->opt.mode.display) return false; return draw_field(view, LINE_MODE, str, column->width, ALIGN_LEFT, false); }