oha is a terminal-based fullscreen text editor written in C.
Features:
- Fullscreen compositor-style interface using ANSI terminal control
- Left-side file manager toggled with
Ctrl+E - File explorer uses Nerd Font glyphs for folders, files, and parent directory
- Matching SVG icon assets live in
assets/icons/ - Arrow-key navigation in the editor and file manager
Enteropens files or enters foldersCtrl+Itoggles input modeCtrl+Ssaves the current fileCtrl+Qexits the editorCtrl+Fopens search for similar string matches in the current buffer- Basic syntax highlighting for C-like and shell-style files
Build:
makeRun:
./oha [optional-file]Install on Linux/macOS:
sudo make installWindows:
- Build inside a terminal-capable environment such as MSYS2 or MinGW:
makeNotes:
- The program uses standard terminal escape sequences. On Windows, use a terminal that supports ANSI escape codes.
- The terminal UI cannot render SVG directly. The file manager uses Nerd Font glyphs, while the SVG files are kept as dedicated assets.
- For the best icon rendering, use a terminal configured with a Nerd Font. Without one, the icons may appear as missing-character boxes.
- Search uses simple substring matching and jumps to the next match.