Skip to content
Browse files

Updated calls to use the set_escdelay method

  • Loading branch information...
1 parent 5c8bbc0 commit de5f98af1fdec5988ff124f1460f16ab83e83986 @developwithpassion committed Apr 18, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 dvtm.c
View
8 dvtm.c
@@ -35,9 +35,7 @@
#endif
#include "vt.h"
-#ifdef PDCURSES
int ESCDELAY;
-#endif
typedef struct {
double mfact;
@@ -1240,11 +1238,11 @@ parse_args(int argc, char *argv[]) {
break;
}
case 'd':
- ESCDELAY = atoi(argv[++arg]);
+ set_escdelay(atoi(argv[++arg]));
if (ESCDELAY < 50)
- ESCDELAY = 50;
+ set_escdelay(50);
else if (ESCDELAY > 1000)
- ESCDELAY = 1000;
+ set_escdelay(1000);
break;
case 'h':
screen.history = atoi(argv[++arg]);

0 comments on commit de5f98a

Please sign in to comment.
Something went wrong with that request. Please try again.