summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/bbs.c4
-rw-r--r--mbbsd/read.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 935d83e9..fdce8fe5 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -3949,9 +3949,9 @@ const onekey_t read_comms[] = {
{ 0, NULL }, // Ctrl('U')
{ 0, do_post_vote }, // Ctrl('V')
{ 0, whereami }, // Ctrl('W')
- { 0, NULL }, // Ctrl('X')
+ { 1, push_bottom }, // Ctrl('X')
{ 0, NULL }, // Ctrl('Y')
- { 1, push_bottom }, // Ctrl('Z') 26
+ { 0, NULL }, // Ctrl('Z') 26 // 現在給 ZA 用。
{ 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL },
{ 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL },
{ 1, recommend }, // '%' (m3itoc style)
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 7c3b2ff0..5a2edc22 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -665,6 +665,10 @@ i_read_key(const onekey_t * rcmdlist, keeploc_t * locmem,
new_top = 10; // default 10
switch (ch) {
case Ctrl('Z'):
+ // notify new usage
+ move(b_lines-1, 0); clrtoeol();
+ outs(ANSI_COLOR(1;33) "置底的功\能鍵已改為 Ctrl-X。"
+ "原 Ctrl-Z 現在是快速切換鍵,可在下列區域中切換:" ANSI_RESET);
mode = FULLUPDATE;
if (ZA_Select())
mode = DOQUIT;