From de8239e9ec77f2ed9760e463f8dec0cd4f70829e Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Thu, 23 Dec 2010 20:42:24 +0000 Subject: [PATCH] deleteLine, insertLine git-svn-id: svn://qnap.local/TwoTerm/trunk@1898 5590a31f-7b70-45f8-8c82-aa3a8e5f4507 --- PTSE.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PTSE.mm b/PTSE.mm index 6ee3556..d30a392 100644 --- a/PTSE.mm +++ b/PTSE.mm @@ -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.