deleteLine, insertLine

git-svn-id: svn://qnap.local/TwoTerm/trunk@1898 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
Kelvin Sherlock 2010-12-23 20:42:24 +00:00
parent 10ee324572
commit de8239e9ec

View File

@ -150,14 +150,14 @@ enum {
case CTRL('Z'):
//Delete current line.
screen->removeLine(screen->y());
screen->deleteLine(screen->y());
break;
case CTRL('V'):
//Insert blank like.
// TODO -- verify if the line is before or after the current line,
// TODO -- verify if x/y change
// TODO -- verify scrolling behavior.
screen->addLine(screen->y());
screen->insertLine(screen->y());
break;
case CTRL('Y'):
//Clear to end of line.