Skip to content

Commit

Permalink
Merge pull request chjj#58 from jerch/fix_54
Browse files Browse the repository at this point in the history
fixes chjj#54
  • Loading branch information
Tyriar authored Mar 23, 2017
2 parents d2524d7 + 9bf6652 commit 87b6938
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/unix/pty.cc
Original file line number Diff line number Diff line change
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 87b6938

Please sign in to comment.