[][src]Function pir_8_emu::binutils::pir_8_emu::display::status::read_number

pub fn read_number<T: Num + PrimInt + UpperHex>(
    x_start: usize,
    y_start: usize,
    label: &str
) -> Option<T>

Read the specified number type at the status line

The prompt will appear in the value space, and the value will be set to the hex-formatted in-put value, if the input was cancelled, it'll be {cancelled}, and if the number wasn't valid, {parse failed}