-#include <term.h>
#include <ncurses.h>
#include <stdio.h>
#include <stdlib.h>
+#include <term.h>
#include <time.h>
typedef struct {
void ustaw(atrybut const* attr)
{
+ static atrybut ostatni = {-1, -1};
+ if (ostatni.attr == attr->attr && ostatni.kolor == attr->kolor) return;
+ ostatni = *attr;
if (attr->attr & A_BOLD) {
putp(enter_bold_mode);
} else {