revert braille-specific debug config

This commit is contained in:
bunnie 2021-04-16 18:57:34 +08:00
parent 0ef50b178f
commit fc4ae9851f
3 changed files with 3 additions and 3 deletions

View file

@ -34,4 +34,4 @@ utralib = {path = "../../utralib"}
debugprint = [] debugprint = []
slowstatus = [] # used for braille mode, so console isn't overwhelmed with status slowstatus = [] # used for braille mode, so console isn't overwhelmed with status
# default = ["debugprint"] # "debugprint" # default = ["debugprint"] # "debugprint"
default = ["slowstatus"] default = []

View file

@ -298,7 +298,7 @@ fn xmain() -> ! {
let mut ref_cursor = blitstr::Cursor::from_top_left_of(cr.into()); let mut ref_cursor = blitstr::Cursor::from_top_left_of(cr.into());
if debugtv { log::trace!("(TV): paint_str with {:?} | {:?} | {:?} | {:?} len: {}", cr, ref_cursor, tv.style, tv.text, tv.text.as_str().unwrap().len()); } if debugtv { log::trace!("(TV): paint_str with {:?} | {:?} | {:?} | {:?} len: {}", cr, ref_cursor, tv.style, tv.text, tv.text.as_str().unwrap().len()); }
log::info!("{}", tv); log::debug!("{}", tv);
blitstr::paint_str( blitstr::paint_str(
display.native_buffer(), display.native_buffer(),
cr.into(), cr.into(),

View file

@ -252,7 +252,7 @@ mod implementation {
new_state: RowColVec::new(), new_state: RowColVec::new(),
last_state: RowColVec::new(), last_state: RowColVec::new(),
ticktimer, ticktimer,
map: KeyMap::Braille, map: KeyMap::Qwerty,
delay: 500, delay: 500,
rate: 20, rate: 20,
shift_down: false, shift_down: false,