aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-29 20:39:30 -0500
committerJoe Wilm <joe@jwilm.com>2016-12-29 20:53:41 -0500
commitb704dafb2420df6f7fca64980a2f52c1a00bcef5 (patch)
treef4659fa9ba38a8626d478e23d97b331c6dd5f8dc /src/main.rs
parentf1336ee1c74c8e3d324ff7b32b562a64046df5ce (diff)
downloadalacritty-b704dafb2420df6f7fca64980a2f52c1a00bcef5.tar.gz
alacritty-b704dafb2420df6f7fca64980a2f52c1a00bcef5.zip
Fix some bugs with selections
Moving the window on macOS would cause a panic in certain circumstances.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
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