diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-09 00:44:52 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-09 00:44:52 +0800 |
commit | 1b48c6b5e274d2744286e70300a36e758763aa7e (patch) | |
tree | 7f49901dcc5ce34c8d8a2b173adca50da6fb98e2 /mbbsd/menu.c | |
parent | 5dbeb280ea47e6cd317da0a5ec9a1d47a71d81bd (diff) | |
download | pttbbs-1b48c6b5e274d2744286e70300a36e758763aa7e.tar pttbbs-1b48c6b5e274d2744286e70300a36e758763aa7e.tar.gz pttbbs-1b48c6b5e274d2744286e70300a36e758763aa7e.tar.bz2 pttbbs-1b48c6b5e274d2744286e70300a36e758763aa7e.tar.lz pttbbs-1b48c6b5e274d2744286e70300a36e758763aa7e.tar.xz pttbbs-1b48c6b5e274d2744286e70300a36e758763aa7e.tar.zst pttbbs-1b48c6b5e274d2744286e70300a36e758763aa7e.zip |
debug mode: raw key escape codes checker
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2809 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/menu.c')
-rw-r--r-- | mbbsd/menu.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 2d524374..ad11a72a 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -411,8 +411,14 @@ static const commands_t userlist[] = { {NULL, 0, NULL} }; +#ifdef DEBUG +int _debug_check_keyinput(); +#endif + /* XYZ tool menu */ static const commands_t xyzlist[] = { +#ifndef DEBUG + /* All these are useless in debug mode. */ #ifdef HAVE_LICENSE {x_gpl, 0, "LLicense GNU 使用執照"}, #endif @@ -429,6 +435,11 @@ static const commands_t xyzlist[] = { {x_today, 0, "TToday 《今日上線人次統計》"}, {x_yesterday, 0, "YYesterday 《昨日上線人次統計》"}, {x_user100 ,0, "UUsers 《使用者百大排行榜》"}, +#else + {_debug_check_keyinput, 0, + "MMKeycode 檢查按鍵控制碼工具"}, +#endif + {p_sysinfo, 0, "XXinfo 《查看系統資訊》"}, {NULL, 0, NULL} }; |