comparison src/com/five_ten_sg/connectbot/service/TerminalBridge.java @ 66:cb99bc2964c5 tn5250

allow host override terminal type
author Carl Byington <carl@five-ten-sg.com>
date Fri, 13 Jun 2014 16:16:16 -0700
parents 9a6335a203b2
children 99d5b02ad90c
comparison
equal deleted inserted replaced
65:9a6335a203b2 66:cb99bc2964c5
170 */ 170 */
171 public TerminalBridge(final TerminalManager manager, final HostBean host) throws IOException { 171 public TerminalBridge(final TerminalManager manager, final HostBean host) throws IOException {
172 float hostFontSize; 172 float hostFontSize;
173 this.manager = manager; 173 this.manager = manager;
174 this.host = host; 174 this.host = host;
175 emulation = host.gethostEmulation(); 175 emulation = host.getHostEmulation();
176 if ((emulation == null) || (emulation.length() == 0)) emulation = manager.getEmulation(); 176 if ((emulation == null) || (emulation.length() == 0)) emulation = manager.getEmulation();
177 // create prompt helper to relay password and hostkey requests up to gui 177 // create prompt helper to relay password and hostkey requests up to gui
178 promptHelper = new PromptHelper(this); 178 promptHelper = new PromptHelper(this);
179 // create our default paint 179 // create our default paint
180 defaultPaint = new Paint(); 180 defaultPaint = new Paint();