Commits

mabe02 committed e829b02

Remove Sun proprietary API calls

  • Participants
  • Parent commits 71e0d50
  • Branches jre142-branch

Comments (0)

Files changed (1)

File src/org/lantern/terminal/CommonUnixTerminal.java

 import org.lantern.LanternException;
 import org.lantern.input.GnomeTerminalProfile;
 import org.lantern.input.PuttyProfile;
-import sun.misc.Signal;
-import sun.misc.SignalHandler;
 
 /**
  * A common ANSI terminal extention with support for Unix resize signals
         super(terminalInput, terminalOutput, terminalCharset);
         addInputProfile(new GnomeTerminalProfile());
         addInputProfile(new PuttyProfile());
-
-        Signal.handle(new Signal("WINCH"), new SignalHandler() {
-            public void handle(Signal signal)
-            {
-                try {
-                    onResized();
-                }
-                catch(LanternException e) {
-                }
-            }
-        });
     }
 
     public TerminalSize queryTerminalSize() throws LanternException