Skip to content

MemeManMemes/termpaint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

THIS PROGRAM ONLY WORKS WITH LINUX MACHINES WITH THE BASH SHELL

Termpaint

Alright, so I made this application because I really like terminal/kernel text editors and instead of making just another text editor, I decided to make a painting editor! Compile with g++ termpaint.cpp -std=c++20 -o termpaint. It's your job to move this file to /usr/bin, not mine. Also, you can access saved files by typing in the filepath of termpaint as well as the filepath of the paint file. Example: termpaint /home/user/Desktop/paint.sdpiff
video: https://www.youtube.com/watch?v=7HlXqYoEGGI&t
Thanks to r2boyo25 for the ability to move around the canvas with the arrow keys

Most recent updates

!!NEWEST!! - Bug fixed where saving with colored text would render a file unreadable
Colored text - You can now place text down then color it by switching to color mode
Code readability and format as well as ability to switch between paint/command and text mode
Ability to move around canvas with arrow keys
Better file saving

Future update ideas

Colored text ☑
User-made rectangles/squares ☐
Windows version ☐

Usage:

Colors:

Backspace Key : Reset sector
1 key : Paint white
2 key : Paint red
3 key : Paint orange
4 key : Paint yellow
5 key : Paint green
6 key : Paint cyan
7 key : Paint blue
8 key : paint purple
Pressing shift and a color at the same same will paint a lighter version of that color except for orange and yellow

Commands

R Key : Reset canvas Up arrow key : Change Y position on canvas up by one
Left arrow key : Change X position on canvas left by one
Down arrow key : Change Y position on canvas down by one
Right arrow key : Change X position on canvas right by one
0 key : Save file
; key : Resize canvas
~ key : Switch between paint/command mode and typing mode

Accepted characters in typing mode

A-Z, a-z, 0-9

Have a good day/night

PS: If the colors don't work, that means your software does not support ANSI codes