You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm happy that you are interested in contributing to this project. The open
3
-
source community depends on people like you, and together we can make this
4
-
project as good as it can possibly be. Thank you!
1
+
# Contributing to this project
5
2
6
-
This document describes, first of all, code of conduct (a very important read),
7
-
then some ideas of with what you may contribute and, last but not least,
8
-
explanations on what you must do to start working on an issue and get your work
9
-
merged into this project.
10
-
11
-
## Table of contents
12
-
*[Code of conduct](#code-of-conduct)
13
-
*[Contribution ideas](#contribution-ideas)
14
-
*[How to make changes to the project][4]
3
+
I'm happy you're interested in contributing to this project. The open source community depends on people like you, and together we can make this project as good as it can possibly be. Thank you!
15
4
16
5
## Code of conduct
17
-
The open source community should be open and welcoming for all. I have a zero
18
-
tolerance policy against discrimination of race, ethnicity, religious
19
-
affiliation, sexual orientation, gender identity, age, disability etc.
20
6
21
-
I urge everyone to be respectful to each other and remember that behind that
22
-
username is a human being. If someone makes a mistake or makes a "stupid"
23
-
comment or question, please bear in mind that they may be a beginner, something
24
-
everyone has once been.
7
+
The open source community should be open and welcoming for all. I have a zero tolerance policy against discrimination of race, ethnicity, religious affiliation, sexual orientation, gender identity, age, disability etc.
8
+
9
+
I urge everyone to be respectful to each other and remember that behind that username is a human being. If someone makes a mistake or makes a "stupid" comment or question, please bear in mind that they may be a beginner, something everyone has once been.
25
10
26
-
Feel free to e-mail me at [oliver_twistor@hotmail.com][1] if you have any
27
-
questions or complaints regarding this or anything else.
11
+
Feel free to contact me through my [GitHub page][1] if you have any questions or complaints regarding this or anything else.
28
12
29
13
## Contribution ideas
30
-
There are many ways in which you can contribute to this project. Some of them
31
-
are listed in the following subsections.
32
14
33
-
### Start working on an open issue
34
-
One very practical way in which you can contribute is to take a look at the
35
-
[list of open and unassigned issues][3] to see if there is anything you want to
36
-
help out with. For information on the necessary steps for that, please read the
37
-
section *[How to make changes to the project][4]*.
15
+
There are many ways in which you can contribute to this project. Some of them are listed here.
38
16
39
17
### Report bugs, propose new features or changes in existing features
40
-
All software has bugs and I would very much appreciate help with identifying and
41
-
reporting bugs, so they can be fixed. This is a good way to contribute even if
42
-
you aren't a programmer.
43
18
44
-
When you have used this application for a while, you may come up with some
45
-
ideas of cool new features, or annoyances in existing features which you would
46
-
want to have changed. I very much appreciate new ideas on how to improve this
47
-
application.
19
+
All software has bugs, and I would very much appreciate help with identifying and reporting bugs, so they can be fixed. This is a good way to contribute even if you aren't a programmer yourself.
48
20
49
21
#### How to create a new issue
50
22
51
23
1. Go to the [new issue][2] page.
52
24
1. Write a short and succinct *title*.
53
25
1. Provide more details in the *comment* field if the title isn't enough.
54
-
1. If you don't have repository access, skip to the next step.
55
-
1. Select an *assignee* that should handle the issue. If you're not
56
-
selecting yourself, you should probably leave this blank.
57
-
1. Choose *labels*, for example *bug* for bugs and *enhancement* for new or
58
-
changed features.
59
-
1. Leave *Project* blank since that is best determined at a later date,
60
-
unless you're sure that the issue really should be part of the upcoming
61
-
release.
62
-
1. Leave also *Milestone* blank for the same reason as for *Project*.
26
+
1. Leave everything else as it is.
63
27
1. Press the button *Submit new issue*.
64
28
65
29
## How to make changes to the project
66
-
I've found an excellent article on how to fork a repository, work on an issue
67
-
and then do a pull request to have your changes merged into the target
[GitHub help][3] is a very good resource on how to fork repositories, collaborate on issues and other things. If you need more help or want to discuss something else, please go to my [GitHub page][1] and contact me through there.
Java is a verbose language. When you want to deal with user interfaces, there is a lot of boilerplate code you have to write. This library means to alleviate a lot of the boilerplate code necessary when you want to have a textual user interface.
13
4
14
-
## Who is this for?
15
-
This library may be useful for those who work with text-based user interfaces.
5
+
## Installation
16
6
17
-
## Prerequisites
18
-
*[Java 7 or newer][2]
19
-
20
-
## Installation instructions
21
-
This is a library, not a stand-alone application. Therefore it's intended to
22
-
be included within other applications or libraries.
7
+
This is a library, not a stand-alone application. Include this in your own applications or libraries.
23
8
24
9
To make use of this library, please do the following:
25
-
1. Make sure you meet the [prerequisites][1].
26
-
1.Go to the [releases page][4] and find the specific version you want. The
27
-
lastest release is [0.1.0][5].
28
-
1.Download `java-tui-x.x.x.jar` and place it in your own application's
29
-
classpath.
10
+
11
+
1.Make sure you meet the prerequisites:
12
+
*[Java 7 or later][2]
13
+
1.Go to the [releases page][4] and find the specific version you want.
14
+
1. Download `java-tui-x.x.x.jar` and place it in your own application's classpath.
30
15
1. If you want Javadoc, download `java-tui-x.x.x-javadoc.jar`.
31
-
* Please refer to your particular IDE on how to attach that to the previous
32
-
JAR file you downloaded.
33
-
* If you're not using an IDE, you can unpack the JAR file and browse the
34
-
Javadoc in a web browser.
16
+
* Please refer to your particular IDE on how to attach that to the previous JAR file you downloaded.
17
+
* If you're not using an IDE, you can unpack the JAR file and browse the Javadoc in a web browser.
35
18
36
-
### Build from source
37
19
To build this library from source, please do the following:
38
-
1. Make sure you meet the [prerequisites][1].
39
-
1. Go to the [releases page][4] and find the specific version you want. The
40
-
lastest release is [0.1.0][5].
20
+
21
+
1. Make sure you meet the prerequisites:
22
+
*[Java 7 or later][2]
23
+
1. Go to the [releases page][4] and find the specific version you want.
41
24
1. Download `java-tui-x.x.x-sources.jar` and unpack it.
42
-
1. In that package, along with the source files you'll find the files
43
-
`build.xml` and `build.properties`. With those, you can build the library
44
-
(using [Apache ANT][6] or similar tools).
25
+
1. In that package, along with the source files you'll find the files `build.xml` and `build.properties`. With those, you can build the library (using [Apache ANT][6] or similar tools).
45
26
46
27
## Usage
47
-
In this library, there is one usable class:
48
-
`nu.olivertwistor.java.tui.Terminal`. With this class, the user can write to
49
-
and read from standard input and output.
50
28
51
-
Here are some examples:
29
+
In this library, there are two classes: `Terminal` and `UnclosableInputStream`. With `Terminal`, you can write to standard output and read from standard input. An example:
0 commit comments