devtext
devtext is a systems-style project that implements a text editor in C for the terminal, with explicit memory management and custom buffer logic.
What it does
- Opens existing files or starts new buffers from CLI.
- Supports cursor navigation, page movement, and home/end controls.
- Handles editing actions like insert/delete/backspace/enter.
- Provides search, search-replace, cut/copy/paste, save, and save+quit shortcuts.
How it is built
- Uses ncurses for screen rendering, keyboard input, colors, and status/help overlays.
- Represents the document as a doubly-linked list of line buffers (
buffer.c/buffer.h). - Implements explicit line insert/delete and buffer split/merge logic.
- Keeps rendering and data structure concerns separated (
gui_ncs.*vsbuffer.*).
Tech stack
C, ncurses, Makefile-based build flow.