diff -r a16932cdfd58 -r f6b22b2ab1b9 src/main/java/org/vaadin/console/Console.java --- a/src/main/java/org/vaadin/console/Console.java Fri May 20 23:48:23 2011 +0400 +++ b/src/main/java/org/vaadin/console/Console.java Mon May 23 13:13:51 2011 +0400 @@ -615,10 +615,12 @@ } /** - * @param string text to append to the last printed line + * @param string text to append to the last printed line + * @return this Console object */ - public void append(final String string) { + public Console append(final String string) { client.call("append", string); + return this; } /** @@ -626,9 +628,11 @@ * * @param string text to append to the last printed line * @param className CSS class name for string + * @return this Console object */ - public void append(final String string, final String className) { + public Console append(final String string, final String className) { client.call("append", string, className); + return this; } public void newLine() {