src/main/java/org/vaadin/console/client/ui/TextConsole.java
changeset 4 27bd1032a5c6
parent 3 3eab4f9f42a9
child 5 01a04ffaf85f
equal deleted inserted replaced
3:3eab4f9f42a9 4:27bd1032a5c6
   266         // Append newline first if not there yet
   266         // Append newline first if not there yet
   267         if (!bufferIsEmpty() && !bufferEndsWithNewLine()) {
   267         if (!bufferIsEmpty() && !bufferEndsWithNewLine()) {
   268             newLine();
   268             newLine();
   269             reducePrompt(-1);
   269             reducePrompt(-1);
   270         }
   270         }
   271         print(getCurrentPromptContent());
   271 		if (config.isPrintPromptOnInput()) {
   272         newLine();
   272 			print(getCurrentPromptContent());
       
   273 			newLine();
       
   274 		}
   273         if (promptRows > 1) {
   275         if (promptRows > 1) {
   274             reducePrompt(-1);
   276             reducePrompt(-1);
   275         }
   277         }
   276         String lineBuffer = getInput();
   278         String lineBuffer = getInput();
   277         lineBuffer = lineBuffer.trim();
   279         lineBuffer = lineBuffer.trim();