aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-01 13:58:20 -0400
committerJesse Luehrs <doy@tozt.net>2019-11-01 13:58:20 -0400
commit1b0bca8204b25f46c68202f9b8e90801f41b35c9 (patch)
tree24591bf87af40a503e780c4a16d42f80658ddf03
parent3d3e4c13776dbdb8e1bc0a6d3638624442bc174d (diff)
downloadvt100-rust-1b0bca8204b25f46c68202f9b8e90801f41b35c9.tar.gz
vt100-rust-1b0bca8204b25f46c68202f9b8e90801f41b35c9.zip
fix comment
-rw-r--r--src/screen.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.rs b/src/screen.rs
index ee83948..6216625 100644
--- a/src/screen.rs
+++ b/src/screen.rs
@@ -90,8 +90,6 @@ impl State {
impl State {
const DEFAULT_SGR_PARAMS: &'static [i64] = &[0];
- // control codes
-
fn text(&mut self, c: char) {
let pos = *self.grid().pos();
if pos.col > 0 {
@@ -145,6 +143,8 @@ impl State {
}
}
+ // control codes
+
fn bel(&mut self) {
self.got_audible_bell = true;
}