Alacritty: Use HPCON definition from winapi

Created on 24 Dec 2018  路  3Comments  路  Source: alacritty/alacritty

In src/tty/conpty.rs, near the top we have the definition pub type HPCON = *mut c_void;

Once https://github.com/retep998/winapi-rs/pull/699 is released then we can update to a newer winapi and use winapi::um::wincontypes::HPCON;

(I added this definition there so that we could merge the support for ConPty apis without having to depend on a patched winapi.)

H - windows W - ConPTY

Most helpful comment

winapi 0.3.7 is now out.

All 3 comments

The upstream PR has been merged. We will probably still need a new winapi version to be released though.

Yes - I'll watch for a release and submit a PR to close this when I'm aware of a new winapi.

winapi 0.3.7 is now out.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dllud picture dllud  路  3Comments

JMurph2015 picture JMurph2015  路  3Comments

zacstewart picture zacstewart  路  3Comments

sersorrel picture sersorrel  路  3Comments

ghost picture ghost  路  3Comments