summaryrefslogtreecommitdiff
path: root/src/tty/windows/conpty.rs
AgeCommit message (Collapse)Author
2019-04-28Split alacritty into a separate cratesTheodore Dubois
The crate containing the entry point is called alacritty, and the crate containing everything else is called alacritty_terminal.
2019-04-22Fix ConPTY panicAndrew Opalach
2019-04-21Improve errors for missing shell file on Windows Christian Duerr
The ConPTY had a cryptic 'assertion failed: success' error whenever spawning the shell failed. This changes the ConPTY assertion to a human-readable error which clearly states that the file could not be found. The WinPTY backend has not been fixed yet. This fixes #2016.
2019-04-14Fix duplicate resize eventsChristian Duerr
If a resize event is identical to the current size, it is no longer propagated but the resize is discarded immediately. To further prevent resizes when not necessary, the list of monitors is enumerated and the DPR of the first display is assumed to be the target DPR. This allows spawning a window with dimensions when the config has columns and lines specified and the window only needs to be resized if the estimated DPR is not correct. Fixes #1825. Fixes #204.
2019-04-04Upgrade to winapi 0.3.7David Hewitt
2019-03-30Add rustfmt style guidev0.3.0-rc1Christian Duerr
2019-03-14Fix invalid --working-dir string ptr for ConPTYAlex Purdy
2019-03-07Add dynamic title support for WindowDavid Hewitt
2019-03-04Make start_daemon behaviour on Windows consistent with UnixDavid Hewitt
In cases where the Alacritty process had invalid std handles then the ConPTY subprocess would fail to spawn. By setting appropriate flags we prevent these handles from being passed to the ConPTY subprocess.
2019-02-21Fix panic on exit with ConPTYDavid Hewitt
Even though the `ClosePseudoConsole` API does not have a return value, it was incorrectly queried by the `Drop` implementation for the ConPTY, leading to a panic on exit. The definition of this call has been updated to match the actual function signatures, which resolve this problem.
2019-01-02Change default Windows shell to PowerShellJason Shirk
Update the Windows shell settings and comments so they look familiar to Windows users, but comment out the shell settings for consistency with Linux and Mac. Stop checking COMSPEC when the configuration file does not specify which shell to use, and just default to PowerShell.
2018-12-28Add support for Windows ConPTY APIv0.2.4-conptyDavid Hewitt