]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/railroad.c
ncurses 6.2 - patch 20211009
[ncurses.git] / test / railroad.c
index 246dc0d4afa9480bb895a6a9c5973fc3934c31fe..3336f565953983f02ddbc44bef6e0d509d1ae52b 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 2000-2017,2019 Free Software Foundation, Inc.              *
+ * Copyright 2019,2020 Thomas E. Dickey                                     *
+ * Copyright 2000-2013,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            *
@@ -29,7 +30,7 @@
 /*
  * Author: Thomas E. Dickey - 2000
  *
- * $Id: railroad.c,v 1.23 2019/08/24 23:11:01 tom Exp $
+ * $Id: railroad.c,v 1.25 2020/09/05 21:43:37 tom Exp $
  *
  * A simple demo of the termcap interface.
  */
@@ -190,7 +191,11 @@ railroad(char **args)
     int z;
 
     if (name == 0)
+#ifdef EXP_WIN32_DRIVER
+       name = "ms-terminal";
+#else
        name = "dumb";
+#endif
 
     InitAndCatch(z = tgetent(buffer, name), onsig);
     if (z >= 0) {