X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fdemos%2FDemo2.java;h=74046b02659f6f79a8592f92bef4dc37059706cc;hb=91c2f66ef49c23fa1d6fa5ad263b5a1fd9c158cf;hp=e21d9444f775adba25dc7bc887ffbae93332a264;hpb=e16dda65585466c8987bd1efd718431450a96605;p=fanfix.git diff --git a/src/jexer/demos/Demo2.java b/src/jexer/demos/Demo2.java index e21d944..74046b0 100644 --- a/src/jexer/demos/Demo2.java +++ b/src/jexer/demos/Demo2.java @@ -3,7 +3,7 @@ * * The MIT License (MIT) * - * Copyright (C) 2016 Kevin Lamonte + * Copyright (C) 2017 Kevin Lamonte * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -57,6 +57,9 @@ public class Demo2 { System.out.printf("New connection: %s\n", socket); DemoApplication app = new DemoApplication(socket.getInputStream(), socket.getOutputStream()); + System.out.printf(" language: %s\n", + ((jexer.net.TelnetInputStream) socket.getInputStream()). + getLanguage()); (new Thread(app)).start(); } } catch (Exception e) {