Skip to content
 
 

Repository files navigation


ptext logo
ptext

A nano like text editor built with pure C

ptext is a text editor based on kilo.
My goal in making this was to learn more about managing tui interfaces not using ncurses.

Preview🙈:

preview.mp4

How to install⬇️:

  1. Clone this repo.
git clone https://github.com/proh14/ptext.git
cd ptext
  1. Run make inside this repo's main directory.
make
  1. go to build directory
cd build
  1. run ptext!
./ptext <filename>

OR to install you may run the command

make install

then restart your shell and run

ptext <file name>

to start the editor.

Documentation📖:

If you installed ptext (with the make install command) on a *nix system you can simply run

man ptext

to see the maual page of ptext. Otherwise take a look at [./docs](./docs] directory to see the manual in diffrent formats! The markdown version of the manual

Goals🥅:

  1. Add a plugin system (for example .ptextrc).
  2. Add windows.
  3. Add utf support.
  4. Read the terminfo database.

Work in progress⚒️:

This is still a work in progress project!

Contributions💖:

I appreciate contributions but first of all, you must read the
Read the CONTRIBUTING.md Then you can send your pr!

Thank you Stargazers⭐:

Stargazers repo roster for @proh14/ptext

Thank you Forkers🍴:

Forkers repo roster for @proh14/ptext

A huge thanks to🙏:

  1. viewsourcecode
  2. kilo

About

A nano like text editor built with pure C

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages