From 7989fa1b314d326a06aca49e9abc157f168f80d3 Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 29 Sep 2009 05:43:42 +0000 Subject: * refine comment document git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- common/sys/vtkbd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/sys/vtkbd.c b/common/sys/vtkbd.c index 58b78419..3ea4bed1 100644 --- a/common/sys/vtkbd.c +++ b/common/sys/vtkbd.c @@ -54,7 +54,8 @@ * - UNIX, LF * - Win, CR+LF * - Mac, CR - * When it comes to terminal,CR LF should be treated as one. + * When it comes to terminal, most terminal sends CR or CR+LF for ENTER key. + * To simply processing, we treat CR+LF as single key stroke (CR). * There were reports that some users getting double ENTERs if we take LF * as ENTER, so we decided reject LF. We are not sure if there is any * clients sending LF only, but according the the compatibility test, -- cgit v1.2.3