Skip to content

Commit

Permalink
[libgui - Rust] Neuter calls to print! and friends
Browse files Browse the repository at this point in the history
  • Loading branch information
codyd51 committed Feb 7, 2024
1 parent e35967c commit ec2fdef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust_programs/libgui/src/text_input_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,13 @@ impl TextInputView {

fn print_text(&self) {
let text = self.view.text.borrow();
/*
println!("Text: (len {})", text.len());
for drawn_ch in text.iter() {
print!("{}", drawn_ch.value);
}
println!();
*/
}

pub fn set_on_key_pressed<F: 'static + Fn(&Self, KeyCode)>(&self, f: F) {
Expand Down

0 comments on commit ec2fdef

Please sign in to comment.