formatstring
This commit is contained in:
parent
5a4057f6a1
commit
d259fa7755
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ void console_ncurses::refresh_virtual_terminal()
|
|||
wclear(w_main->win);
|
||||
|
||||
for(int row=0; row<t_height; row++)
|
||||
mvwprintw(w_main->win, row + 1, 0, std::string(screen_buffer[row], t_width).c_str());
|
||||
mvwprintw(w_main->win, row + 1, 0, "%s", std::string(screen_buffer[row], t_width).c_str());
|
||||
|
||||
mydoupdate();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue