summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r--mbbsd/pmore.c19
1 files changed, 5 insertions, 14 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index 69be7b2f..1d7b82e0 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -2127,7 +2127,11 @@ pmore(char *fpath, int promptend)
flExit = 1, retval = RET_DOCHESSREPLAY;
break;
#endif
-
+#ifdef RET_COPY2TMP
+ case Ctrl('T'):
+ flExit = 1, retval = RET_COPY2TMP;
+ break;
+#endif
/* ------------------ EXITING KEYS ------------------ */
case 'A':
flExit = 1, retval = AUTHOR_PREV;
@@ -2348,19 +2352,6 @@ pmore(char *fpath, int promptend)
}
break;
- case Ctrl('T'):
- {
- char buf[10];
- getdata(b_lines - 1, 0, "把這篇文章收入到暫存檔?[y/N] ",
- buf, 4, LCECHO);
- if (buf[0] == 'y') {
- setuserfile(buf, ask_tmpbuf(b_lines - 1));
- Copy(fpath, buf);
- }
- MFDISP_DIRTY();
- }
- break;
-
case 'h': case 'H': case KEY_F1:
case '?':
// help