Function pager_rs::init[][src]

pub fn init() -> Result<()>
Expand description

Setup terminal for running State. Enter alternate screen, enable mouse capture, hide the cursor.

This function must be called before the run function.