d_clear_proc(3alleg4) Allegro manual d_clear_proc(3alleg4)NAME
d_clear_proc - Dialog procedure to clear the screen. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int d_clear_proc(int msg, DIALOG *d, int c);
DESCRIPTION
This just clears the screen when it is drawn. Useful as the first object in a dialog.
SEE ALSO excustom(3alleg4), exgui(3alleg4)Allegro version 4.4.2 d_clear_proc(3alleg4)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)