// This file is part of the loginx project
//
// Copyright (c) 2013 by Mike Sharov <msharov@users.sourceforge.net>
// This file is free software, distributed under the ISC license.
#pragma once
#include "config.h"
#include <ncurses.h>
unsigned utf8_length (const char* s);
unsigned utf8_range_length (const char* f, const char* l);
void wadd_utf8 (WINDOW* w, const char* s);
void waddn_utf8 (WINDOW* w, const char* s, unsigned n);
void mvwadd_utf8 (WINDOW* w, int y, int x, const char* s);
void mvwaddn_utf8 (WINDOW* w, int y, int x, const char* s, unsigned n);