diff options
author | Danny Dulai <danny@ishiboo.com> | 2017-01-08 22:18:39 -0500 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-01-29 16:06:29 -0800 |
commit | e04584b0826eb18917314c2ea7bee7c8a22295be (patch) | |
tree | 6aeb88a41dd3a60d0fc6152e080a05e079cb5a65 /src/term/cell.rs | |
parent | 2b478e7b9c5e7cd6c93254d3882e79ced9ec43c9 (diff) | |
download | alacritty-e04584b0826eb18917314c2ea7bee7c8a22295be.tar.gz alacritty-e04584b0826eb18917314c2ea7bee7c8a22295be.zip |
support for inverting the cursor or using colors
Diffstat (limited to 'src/term/cell.rs')
-rw-r--r-- | src/term/cell.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/term/cell.rs b/src/term/cell.rs index 021ce280..e6e9f340 100644 --- a/src/term/cell.rs +++ b/src/term/cell.rs @@ -11,8 +11,6 @@ // 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. -use std::mem; - use ansi::{NamedColor, Color}; use grid; use index::Column; @@ -98,11 +96,6 @@ impl Cell { // memcpy template to self *self = *template; } - - #[inline] - pub fn swap_fg_and_bg(&mut self) { - mem::swap(&mut self.fg, &mut self.bg); - } } #[cfg(test)] |