/* The status line is the last line of the screen. It shows the string "Running"/"Holding" in the lower right corner of the screen.  */
static void tty3270_update_status(struct tty3270 *tp)
/* The status line is the last line of the screen. It shows the string "Running"/"Holding" in the lower right corner of the screen.  */
static void tty3270_update_status(struct tty3270 *tp)
{
	char *str;
	str = (tp->nr_up != 0) ? "History" : "Running";
	memcpy(tp->status->string + 8, str, 7);
	codepage_convert(tp->view.ascebc, tp->status->string + 8, 7);
	tp->update_flags |= TTY_UPDATE_STATUS;
}