diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-06-06 18:49:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-06 21:49:14 +0300 |
commit | 7aafbb757d485c5ff065324464dde8b5322cdd92 (patch) | |
tree | ea24f9f2722c2f805ae3ac6d4082a7bb7f125767 /alacritty_terminal/src/tty/windows/automatic_backend.rs | |
parent | de3437bcd6ff9637e74840b17285faf533a8f0a9 (diff) | |
download | r-alacritty-7aafbb757d485c5ff065324464dde8b5322cdd92.tar.gz r-alacritty-7aafbb757d485c5ff065324464dde8b5322cdd92.tar.bz2 r-alacritty-7aafbb757d485c5ff065324464dde8b5322cdd92.zip |
Remove copyright notice from files
Keeping the license as part of every file bloats up the files
unnecessarily and introduces an additional overhead to the creation of
new modules.
Since cargo already provides excellent dependency management, most of
the code-reuse of Alacritty should occur through Rust's dependency
management instead of copying it source.
If code is copied partially, copying the license from the main license
file should be just as easy as copying from the top of the file and
making some adjustments based on where it is used is likely necessary
anyways.
Diffstat (limited to 'alacritty_terminal/src/tty/windows/automatic_backend.rs')
-rw-r--r-- | alacritty_terminal/src/tty/windows/automatic_backend.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/alacritty_terminal/src/tty/windows/automatic_backend.rs b/alacritty_terminal/src/tty/windows/automatic_backend.rs index 74a546dd..a1bd540d 100644 --- a/alacritty_terminal/src/tty/windows/automatic_backend.rs +++ b/alacritty_terminal/src/tty/windows/automatic_backend.rs @@ -1,8 +1,9 @@ -/// Types to determine the appropriate PTY backend at runtime. -/// -/// Unless the winpty feature is disabled, the PTY backend will automatically fall back to -/// WinPTY when the newer ConPTY API is not supported, as long as the user hasn't explicitly -/// opted into the WinPTY config option. +//! Types to determine the appropriate PTY backend at runtime. +//! +//! Unless the winpty feature is disabled, the PTY backend will automatically fall back to +//! WinPTY when the newer ConPTY API is not supported, as long as the user hasn't explicitly +//! opted into the WinPTY config option. + use std::io::{self, Read, Write}; use log::info; |