diff test/sematest/TestEditor.java @ 424:1e58479b4170

TestEditor selectionKeys fix.
author one
date Thu, 31 Dec 2009 23:00:55 +0900
parents f8916a96a373
children 622a8e15ff40
line wrap: on
line diff
--- a/test/sematest/TestEditor.java	Thu Dec 31 20:58:49 2009 +0900
+++ b/test/sematest/TestEditor.java	Thu Dec 31 23:00:55 2009 +0900
@@ -126,10 +126,7 @@
 		while(running) {
 			if (inputLock) {
 				// No user input during merge mode (optional)
-				if (selector.select(0)>0) {
-					handle(channel.read());
-				}
-				continue;
+				selector.select(0);
 			} else if (selector.select(timeout)<=0) {
 				if (syncCounter>0) {
 					syncText(); // send the master editor buffer to clients.