X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwindow.c;h=290e6a31cf513da6803b294c61b8e58f09e69d89;hb=1de7240eb88fa24a8532ded116b4ec72dd213008;hp=b1530dbcb17997b78828707fad94f771eb9b4341;hpb=83746d7236e3109b1c5009262cf2b232583ffbba;p=PuTTY.git diff --git a/windows/window.c b/windows/window.c index b1530dbc..290e6a31 100644 --- a/windows/window.c +++ b/windows/window.c @@ -229,6 +229,11 @@ void frontend_echoedit_update(void *frontend, int echo, int edit) { } +int frontend_is_utf8(void *frontend) +{ + return ucsdata.line_codepage == CP_UTF8; +} + char *get_ttymode(void *frontend, const char *mode) { return term_get_ttymode(term, mode);