Skip to content
bitzzdevPublic

About

Terminal-based fullscreen text editor written in C with file manager and syntax highlighting

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

oha

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
  • Enter opens files or enters folders
  • Ctrl+I toggles input mode
  • Ctrl+S saves the current file
  • Ctrl+Q exits the editor
  • Ctrl+F opens search for similar string matches in the current buffer
  • Basic syntax highlighting for C-like and shell-style files

Build:

make

Run:

./oha [optional-file]

Install on Linux/macOS:

sudo make install

Windows:

  • Build inside a terminal-capable environment such as MSYS2 or MinGW:
make

Notes:

  • 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.

About

Terminal-based fullscreen text editor written in C with file manager and syntax highlighting

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages