summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-29 13:43:42 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-29 13:43:42 +0800
commit7989fa1b314d326a06aca49e9abc157f168f80d3 (patch)
treed8b6c1ed3f2667042dd00c7bc795ae9f9b09941f
parentdf49b12193e74f5e2316b10ed06a1121de1ea465 (diff)
downloadpttbbs-7989fa1b314d326a06aca49e9abc157f168f80d3.tar
pttbbs-7989fa1b314d326a06aca49e9abc157f168f80d3.tar.gz
pttbbs-7989fa1b314d326a06aca49e9abc157f168f80d3.tar.bz2
pttbbs-7989fa1b314d326a06aca49e9abc157f168f80d3.tar.lz
pttbbs-7989fa1b314d326a06aca49e9abc157f168f80d3.tar.xz
pttbbs-7989fa1b314d326a06aca49e9abc157f168f80d3.tar.zst
pttbbs-7989fa1b314d326a06aca49e9abc157f168f80d3.zip
* refine comment document
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--common/sys/vtkbd.c3
1 files changed, 2 insertions, 1 deletions
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,