octobanana / asciimation

An ASCII animation interpreter for the terminal.
MIT License
104 stars 5 forks source link

compile error on gcc 8.3 #4

Open alexzhuustc opened 2 years ago

alexzhuustc commented 2 years ago

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!