Skip to content

Commit

Permalink
fixes chjj#54
Browse files Browse the repository at this point in the history
  • Loading branch information
jerch committed Mar 23, 2017
1 parent d2524d7 commit 9bf6652
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/unix/pty.cc
Expand Up @@ -202,7 +202,8 @@ NAN_METHOD(PtyFork) {
winp.ws_ypixel = 0;

// termios
struct termios* term = new termios();
struct termios t = termios();
struct termios *term = &t;
#if defined(IUTF8)
term->c_iflag = ICRNL | IXON | IXANY | IMAXBEL | BRKINT | IUTF8;
#else
Expand Down

0 comments on commit 9bf6652

Please sign in to comment.