diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index aa2da104..0f89aa06 100644 --- a/src/main.rs +++ b/src/main.rs @@ -68,6 +68,12 @@ fn run(mut config: Config, options: cli::Options) -> Result<(), Box<Error>> { // The display manages a window and can draw the terminal let mut display = Display::new(&config, &options)?; + println!( + "PTY Dimensions: {:?} x {:?}", + display.size().lines(), + display.size().cols() + ); + // Create the terminal // // This object contains all of the state about what's being displayed. It's |