← XeFM crftwr/xefm on GitHub · craftware

XeFM Text Viewer Status Bar

Overview

The XeFM text viewer includes a comprehensive status bar at the bottom of the screen that provides real-time information about the current file and viewer state.

Status Bar Layout

Line 45/127 (35%) | 2.3K                           PY | NUM | SYNTAX
└─── Position Info ───┘ └─ File Size ─┘             └──── File Type & Options ────┘

Information Displayed

Left Side: Position & File Info

Archive Creation Progress

When creating archives, the status bar displays real-time progress:

Right Side: File Type & Active Options

Examples

Python File with Line Numbers and Syntax Highlighting

Line 1/50 (2%) | 1.2K                               PY | NUM | SYNTAX

JSON File, Scrolled to Middle, with Horizontal Scroll

Line 25/50 (50%) | Col 15 | 856B                    JSON | NUM | SYNTAX

Text File with Line Wrapping, No Syntax Highlighting

Line 10/20 (50%) | 3.4K                             TXT | NUM | WRAP

Large Markdown File at End

Line 500/500 (100%) | 45.2K                         MD | NUM | SYNTAX

Archive Creation in Progress

Creating archive... 45/120 (37%) - long_filename_that_gets_truncated.txt

Dynamic Updates

The status bar updates in real-time as you:

Benefits

✅ Navigation Awareness

✅ File Information

✅ Option Status

Technical Implementation

Efficient Updates

Robust Information

Terminal Compatibility

Integration with XeFM

The status bar uses the same color scheme and design language as the main XeFM interface, providing a cohesive user experience throughout the file management workflow.


The status bar transforms the text viewer from a simple file display into an informative, professional text editing environment that keeps users oriented and informed while browsing code, configuration files, and documentation.