aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.rs')
-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;
}