projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3d08fd
)
comet2のプロンプトを(comet2 monitor)に変更
author
j8takagi
<j8takagi@nifty.com>
Fri, 15 Feb 2019 12:53:12 +0000
(21:53 +0900)
committer
j8takagi
<j8takagi@nifty.com>
Fri, 15 Feb 2019 12:53:12 +0000
(21:53 +0900)
src/monitor.c
patch
|
blob
|
history
diff --git
a/src/monitor.c
b/src/monitor.c
index
f0af0a1
..
89ad918
100644
(file)
--- a/
src/monitor.c
+++ b/
src/monitor.c
@@
-5,6
+5,11
@@
*/
static BPSLIST *bps[BPSTABSIZE];
+/**
+ * @brief comet2monitorのプロンプト
+ */
+static char *monitor_prompt = "(comet2 monitor)";
+
unsigned adrhash(WORD adr)
{
HKEY *key[1];
@@
-347,7
+352,7
@@
void monitor()
MONCMDTYPE cmdtype = MONREPEAT;
do {
- fprintf(stdout, "
- "
);
+ fprintf(stdout, "
%s ", monitor_prompt
);
buf = malloc_chk(MONINSIZE + 1, "monitor.buf");
fgets(buf, MONINSIZE, stdin);
fprintf(stdout, "%s", buf);