Skip to content
Browse files

Unset COLUMNS and LINES to fix issues when running ion

  • Loading branch information...
jackpot51 committed Dec 14, 2017
1 parent ebc8e5c commit 4f5ab77aa8c65c418faf51e60aaf32a590fbc06d
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/
@@ -54,8 +54,10 @@ fn main() {
.env("COLUMNS", format!("{}", columns))
.env("LINES", format!("{}", lines))
// Not setting COLUMNS and LINES fixes many applications that use it
// to quickly get the current terminal size instead of TIOCSWINSZ
.env("COLUMNS", "")
.env("LINES", "")
.env("TERM", "xterm-256color")
.env("TTY", tty_path)
.before_exec(|| {

0 comments on commit 4f5ab77

Please sign in to comment.
You can’t perform that action at this time.