/* The status line is the last line of the screen. It shows the string "console view" in the lower left corner and "Running"/"More..."/"Holding" in the lower right corner of the screen.  */
static void con3270_update_status(struct con3270 *cp)
/* The status line is the last line of the screen. It shows the string "console view" in the lower left corner and "Running"/"More..."/"Holding" in the lower right corner of the screen.  */
static void con3270_update_status(struct con3270 *cp)
{
	char *str;
	str = (cp->nr_up != 0) ? "History" : "Running";
	memcpy(cp->status->string + 24, str, 7);
	codepage_convert(cp->view.ascebc, cp->status->string + 24, 7);
	cp->update_flags |= CON_UPDATE_STATUS;
}