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
#ptext
51 messages · Page 1 of 1 (latest)
How do you quit it.
i guess it is harder than vim :D
i will add the docs
Made a pull request
@ember tiger thank you
let me know if I can contribute in any other way :DD
ok dude
btw i added a help thingy at start
:D
btw on what OS are you making this?
btw idk if you noticed or not the text editor doesnt allow use of 'delete' key and other stuff
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
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
ah yes
emphasis on this since you are using arch
<esc>[3~
they replaced it with this code
cuz of that it uses types ~ for delete
lol well just use an IFNDEF, see if its a windows or POSIX system and then do the required stuff in that
nvm then lol
share wot?
the github repo
i really want to get more stars LOL
btw really thank you for staring and making changes
i really appreciate that
does it ask for confirmation to create the file before exiting??
no it doesn't but it doest write to it
check it out
ok @ember tiger i implemented that as well
Will check it after a while busy with some stuff rn lol
