📄 dispmsg.c
字号:
/* dispmsg.c 4.1 83/03/09 *//* * display a message, str, starting at (x, y). */#include "2648.h"dispmsg(str, x, y, maxlen)char *str;int x, y;{ int oldx, oldy; int oldcuron; int oldquiet; extern int QUIET; oldx = _curx; oldy = _cury; oldcuron = _cursoron; zoomout(); areaclear(y, x, y+8, x+6*maxlen); setset(); curon(); movecurs(x, y); texton(); oldquiet = QUIET; QUIET = 0; outstr(str); if (oldquiet) outstr("\r\n"); QUIET = oldquiet; textoff(); movecurs(oldx, oldy); if (oldcuron == 0) curoff();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -