aboutsummaryrefslogtreecommitdiff
path: root/src/term/cell.rs
diff options
context:
space:
mode:
authorDanny Dulai <danny@ishiboo.com>2017-01-08 22:18:39 -0500
committerJoe Wilm <jwilm@users.noreply.github.com>2017-01-29 16:06:29 -0800
commite04584b0826eb18917314c2ea7bee7c8a22295be (patch)
tree6aeb88a41dd3a60d0fc6152e080a05e079cb5a65 /src/term/cell.rs
parent2b478e7b9c5e7cd6c93254d3882e79ced9ec43c9 (diff)
downloadalacritty-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.rs7
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)]