Modified Jsh to detect a line containing only carriage returns (\r\n, \r, \n) from a BufferedReader (which strips them out). Checks for strings of length 0. While this would cause problems with a text document because empty lines would be skipped, for a java pseudo-shell it is probably fine for now.