X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Fdemo_altkeys.c;h=e968525e6907494f32dd07677dfd8d990c91f10c;hb=1ddfa997c0965852dbdc738aa6d92c0cd0975f3b;hp=d85bac48bce22e0b3b2e03b96e75628674ac41a7;hpb=9d37907c2305ee3dc7b829e98a465c3def2074f0;p=ncurses.git diff --git a/test/demo_altkeys.c b/test/demo_altkeys.c index d85bac48..e968525e 100644 --- a/test/demo_altkeys.c +++ b/test/demo_altkeys.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2005-2018,2019 Free Software Foundation, Inc. * + * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2005-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -26,7 +27,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: demo_altkeys.c,v 1.13 2019/08/17 21:49:40 tom Exp $ + * $Id: demo_altkeys.c,v 1.15 2022/04/16 18:26:57 tom Exp $ * * Demonstrate the define_key() function. * Thomas Dickey - 2005/10/22 @@ -81,6 +82,7 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED) unlink(MY_LOGFILE); + setlocale(LC_ALL, ""); if (newterm(0, stdout, stdin) == 0) { fprintf(stderr, "Cannot initialize terminal\n"); ExitProgram(EXIT_FAILURE);