#ptext

51 messages · Page 1 of 1 (latest)

winter quest
#

ptext is a small text editor built with pure C. My goal of making this was to learn more about managing tui without the need of ncurses. This is not complete by any means and needs work. Please consider staring it so i get motivation to work on it. Thank you🙏🙏. (preview at the repo!)
https://github.com/proh14/ptext

GitHub

A nano like text editor built with pure C. Contribute to proh14/ptext development by creating an account on GitHub.

ember tiger
#

How do you quit it.

winter quest
#

CTRL + Q

#

@ember tiger

#

and CTRL + S to save

winter quest
#

i will add the docs

ember tiger
winter quest
#

@ember tiger thank you

ember tiger
#

let me know if I can contribute in any other way :DD

winter quest
#

btw i added a help thingy at start

ember tiger
#

Like gnu nano

winter quest
#

:D

ember tiger
#

btw on what OS are you making this?

winter quest
#

arch

#

shame on me i am using wsl cuz i need windows for some thingfacepalm

ember tiger
# winter quest arch

btw idk if you noticed or not the text editor doesnt allow use of 'delete' key and other stuff

winter quest
#

yes i did notice those

#

it is probably cuz of the reading key function

#

strangly in modern terminals they replaced DEL key with some escape seqs

#

i need to fix those

ember tiger
#

yeah wait let me send you something that might help fix it

#

have a look at this

#

Its for a totally different thing but using the editline thing should help

winter quest
#

ah yes

ember tiger
#

emphasis on this since you are using arch

winter quest
#

<esc>[3~

winter quest
#

cuz of that it uses types ~ for delete

ember tiger
winter quest
#

i know how to fix it.

#

w8

ember tiger
winter quest
#

ok dude

#

btw if you can, please share it to ppl so they can see this.

ember tiger
#

share wot?

winter quest
#

the github repo

#

i really want to get more stars LOL

#

btw really thank you for staring and making changes

#

i really appreciate that

winter quest
#

btw @ember tiger i added a way to open files even if they don't exist

#

and save as

ember tiger
winter quest
#

no it doesn't but it doest write to it

#

check it out

#

ok @ember tiger i implemented that as well

ember tiger
#

Will check it after a while busy with some stuff rn lol