X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=README.md;h=9ffed93744fd9fb9127e5991e32e0f397583a809;hp=60734e65b63f445a0efd32451d39c42fe17d0272;hb=9b1afdde02c30f0d4a80ba330a4bc72384093253;hpb=005ec49709aab8590ee9571f17a67440969c6248 diff --git a/README.md b/README.md index 60734e6..9ffed93 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,19 @@ Three backends are available: which is set in jexer.session.SwingSession. For the demo application, this is the default backend on Windows platforms. -The demo application showing the existing UI controls is available via -'java -jar jexer.jar', 'java -Djexer.Swing=true -jar jexer.jar', or -'java -cp jexer.jar jexer.demos.Demo2 PORT' (where PORT is a number to -run the TCP daemon on). +The demo application showing the existing UI controls can be seen in +three ways: + + * 'java -jar jexer.jar' . This will use System.in/out on + non-Windows, or Swing on Windows. + + * 'java -Djexer.Swing=true -jar jexer.jar' . This will always use + Swing. + + * 'java -cp jexer.jar jexer.demos.Demo2 PORT' (where PORT is a + number to run the TCP daemon on). This will use the telnet + protocol to establish an 8-bit clean channel and be aware of + screen size changes. Additional backends can be created by subclassing jexer.backend.Backend and passing it into the TApplication