package com.googlecode.lanterna.issue; import com.googlecode.lanterna.screen.Screen; import com.googlecode.lanterna.screen.TerminalScreen; import com.googlecode.lanterna.terminal.DefaultTerminalFactory; import com.googlecode.lanterna.terminal.Terminal; import java.io.IOException; public class Issue254 { public static void main(String[] args) throws IOException { Terminal terminal = new DefaultTerminalFactory().createTerminal(); Screen screen = new TerminalScreen(terminal); screen.startScreen(); // Now resize the window to the smallest possible size allowed by the window manager // Then quickly make it bigger by grabbing the bottom right corner } }