ctrl-g is beep(), not "^G", damnit. strictly for the attention deprived.

This commit is contained in:
proff 1999-08-13 13:52:59 +00:00
parent df3501fd4a
commit 209c8a802a

View File

@ -1,4 +1,4 @@
/* $NetBSD: display.c,v 1.5 1997/10/20 00:23:17 lukem Exp $ */ /* $NetBSD: display.c,v 1.6 1999/08/13 13:52:59 proff Exp $ */
/* /*
* Copyright (c) 1983, 1993 * Copyright (c) 1983, 1993
@ -38,7 +38,7 @@
#if 0 #if 0
static char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93"; static char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93";
#endif #endif
__RCSID("$NetBSD: display.c,v 1.5 1997/10/20 00:23:17 lukem Exp $"); __RCSID("$NetBSD: display.c,v 1.6 1999/08/13 13:52:59 proff Exp $");
#endif /* not lint */ #endif /* not lint */
/* /*
@ -139,6 +139,11 @@ display(win, text, size)
text++; text++;
continue; continue;
} }
if (*text == '\07') {
beep();
text++;
continue;
}
if (win->x_col == COLS-1) { if (win->x_col == COLS-1) {
/* check for wraparound */ /* check for wraparound */
xscroll(win, 0); xscroll(win, 0);