Skip to content

Commit

Permalink
new ncurses version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexdelia committed Jun 16, 2024
1 parent 31edcf5 commit 0b87519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
/* By: adelille <adelille@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/03/17 16:25:16 by adelille #+# #+# */
/* Updated: 2022/03/17 19:12:48 by adelille ### ########.fr */
/* Updated: 2024/06/16 13:51:05 by adelille ### ########.fr */
/* */
/* ************************************************************************** */

#include "../../inc/wkw.h"

void pmw(t_env *e, const char *text)
{
mvprintw((e->row - 1) / 2, (e->col - ft_strlen(text)) / 2, text);
mvprintw((e->row - 1) / 2, (e->col - ft_strlen(text)) / 2, "%s", text);
}

0 comments on commit 0b87519

Please sign in to comment.