--- a/src/chess/pgn.h Thu Sep 10 09:35:41 2026 +0200 +++ b/src/chess/pgn.h Thu Sep 10 16:48:33 2026 +0200 @@ -64,6 +64,9 @@ pgn_result parse_pgn(const char *data, GameState *gamestate); char *create_pgn(const GameState *gamestate, bool export_comments); +char *pgn_move_text(const GameState *gamestate, + unsigned max_width, bool export_comments); + // TODO: this function looks a bit misplaced const char *pgn_player_name(const GameState *gamestate, Color color);