octobanana / asciimation

An ASCII animation interpreter for the terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile error on gcc 8.3

alexzhuustc opened this issue · comments

commented

Error is below
图片

I fiixed it using below code

      size_t x = 0;
      size_t y = 0;
      Term::cursor_get(x, y);
      std::vector<std::string> flags { AEC::bold, AEC::reverse };  // change 1
      
      std::cout
      << AEC::cursor_set(0, 0)
      << AEC::wrap("||", flags)   // change 2

btw, it's an awesome tool!