Skip to content

Commit

Permalink
Remove sleep(1) protection.
Browse files Browse the repository at this point in the history
  • Loading branch information
gslin committed Nov 8, 2020
1 parent 6bdd368 commit f0a2188
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mbbsd/edit.c
Expand Up @@ -1975,10 +1975,6 @@ write_file(const char *fpath, int saveheader, char mytitle[STRLEN],
mvouts(6, 0, warn_prompt);
getdata(2, 0, "確定要儲存檔案嗎? ", ans, 2, LCECHO);

// avoid lots pots
if (ans[0] != 'a')
sleep(1);

switch (ans[0]) {
case 'a':
outs("文章" ANSI_COLOR(1) " 沒有 " ANSI_RESET "存入");
Expand Down

0 comments on commit f0a2188

Please sign in to comment.