Fix a regression where using the up arrow to select a line that contains non-ascii characters at the end would copy everything except those characters. The problem was that Borland's isspace() does not work properly for values greater than 127. The solution is to provide my own implementation that does.