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/src/input.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/src/input.rs')
-rw-r--r-- | alacritty/src/input.rs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/alacritty/src/input.rs b/alacritty/src/input.rs index 652f4d19..9109aa4f 100644 --- a/alacritty/src/input.rs +++ b/alacritty/src/input.rs @@ -1,23 +1,10 @@ -// Copyright 2016 Joe Wilm, The Alacritty Project Contributors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// //! Handle input from glutin. //! //! Certain key combinations should send some escape sequence back to the PTY. //! In order to figure that out, state about which modifier keys are pressed //! needs to be tracked. Additionally, we need a bit of a state machine to //! determine what to do when a non-modifier key is pressed. + use std::borrow::Cow; use std::cmp::{min, Ordering}; use std::marker::PhantomData; |