Skip to content

Commit

Permalink
Update README; prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbueno committed Sep 24, 2021
1 parent a793ea5 commit adf71c1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 15 deletions.
41 changes: 28 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ an interactive way directly from the terminal

![draft screenshot](logo0.png?raw=true "Screenshot")

This is very early work, not released and changing each day.
yet you can run the development version and try it -
just by having an Python > 3.6 installed and typing:
This is very early work, but already allows on to have some fun.
To install: `pip install --user terminedia-paint`

To install development version:
`pip install --user git+https://github.com/jsbueno/terminedia-paint.git && terminedia-paint`

(`--user` can be omitted if you have an active virtual environment)


(install will pull along a suitable version of the terminedia Unicode Art framework

Currently it works on Linux, Mac and other Posix software -
there might be some limited functionality under windows
(no mouse suport yet though)
(no mouse suport yet though). It might work fine under WSL2.

This is in very ealy stage - the main idea
is to enable people to create text-art in by
Expand All @@ -32,21 +32,36 @@ This is also set as a demonstration project
for terminedia: https://github.com/jsbueno/terminedia

How to run: pip install the main branch directly with
`pip install git+https://github.com/jsbueno/terminedia-paint.git
and run "terminedia-paint" on the terminal.

**Saving and exporting**: the file extension one use to save a file will determine the file type:
if "snapshot", it is a reloadable internal format, that can be loaded back
Saving and exporting
------------------------
: the file extension one use to save a file will determine the file type:
if the ".snapshot" suffix is used, it is a reloadable internal format, that can be loaded back
with "insert image". (Load occurs at cursor position).
Other supported formats are "HTML": a hard-coded HTML with characters using inline-style
for positioning and color, and "ANSI" (the default fule format):
for positioning and color, and "ANSI" (the default file format):
a text file which will be correctly displayed in the terminal
when printed (e.g. with the `cat` command)

The typing tool
-----------------

The on-screen display has no help to the "typing tool"
(entered by pressing "t" on the app screen):
the software pointer will be shut down, and arrow keys
won't move it (but the mouse will). start typing to
enter text directly on the image, press one of the
arrow keys to change text direction at any point.

This is the "line" typing mode.
There is also the "path" typing mode:

In the typing tool, click on any sequence of
full block characters, and begin typing: all characters typed will follow the
line (or area, in an exquisite way), of full blocks.

It is currently using the main branch of terminedia so it
might break if upadated, via pip, without updating terminedia as well.
(it is being used as lab to activelly develop the widget system in terminedia,
so changes should occur often)
Press <ESC> to leave the typing tool and return to
painting.


5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
setup(
name="terminedia_paint",
packages=find_packages(),
version="0.1.0.dev0",
version="0.1.0",
license="LGPLv3+",
author="João S. O. Bueno",
author_email="[email protected]",
Expand All @@ -21,7 +21,7 @@
zip_safe=True,
test_requires=[],
install_requires=[
"terminedia @ git+https://github.com/jsbueno/terminedia.git", # temporarily pointing to main
"terminedia>=0.4.2",
"pillow>=6.0.0"
],
extras_require={
Expand All @@ -36,6 +36,7 @@
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand Down

0 comments on commit adf71c1

Please sign in to comment.