previous method

void previous()

Implementation

void previous() {
	if (row > 0) {
		line = history[--row];
		pos = line.length;
	}
}