A fast, lightweight and minimalistic Wayland terminal emulator
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "misc.h" |
|
|
|
#include <wctype.h> |
|
|
|
bool |
|
isword(wchar_t wc, bool spaces_only, const wchar_t *delimiters) |
|
{ |
|
if (spaces_only) |
|
return iswgraph(wc); |
|
|
|
if (wcschr(delimiters, wc) != NULL) |
|
return false; |
|
|
|
return iswgraph(wc); |
|
}
|
|
|