foot/misc.h
Daniel Eklöf 49f4b3da64
config: add ‘[default].word-delimiters’
This option lets the user configure which characters act as word
delimiters when selecting text.

This affects both “double clicking”, and ‘ctrl-w’ in scrollback search
mode.

Closes #156
2020-10-09 19:44:23 +02:00

6 lines
125 B
C

#pragma once
#include <stdbool.h>
#include <wchar.h>
bool isword(wchar_t wc, bool spaces_only, const wchar_t *delimiters);