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
commit88bcef906f0febc8f7e5644401706fbdd12634db (patch)
tree37791c13dac2d16e0e725be6c7475a64f20fa910
parent9500e8d6215f584f7c6a41d56d530e3c4c237dd2 (diff)
downloadpttbbs-88bcef906f0febc8f7e5644401706fbdd12634db.tar
pttbbs-88bcef906f0febc8f7e5644401706fbdd12634db.tar.gz
pttbbs-88bcef906f0febc8f7e5644401706fbdd12634db.tar.bz2
pttbbs-88bcef906f0febc8f7e5644401706fbdd12634db.tar.lz
pttbbs-88bcef906f0febc8f7e5644401706fbdd12634db.tar.xz
pttbbs-88bcef906f0febc8f7e5644401706fbdd12634db.tar.zst
pttbbs-88bcef906f0febc8f7e5644401706fbdd12634db.zip
* refine comment document
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4893 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/common/sys/vtkbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/common/sys/vtkbd.c b/pttbbs/common/sys/vtkbd.c
index 58b78419..3ea4bed1 100644
--- a/pttbbs/common/sys/vtkbd.c
+++ b/pttbbs/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,