瀏覽代碼

Update example

xuty 4 年之前
父節點
當前提交
f4455d7592
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      example/lib/ssh.dart

+ 1 - 1
example/lib/ssh.dart

@@ -85,7 +85,7 @@ class SSHTerminalBackend extends TerminalBackend {
   Stream<String> get out => _outStream.stream;
 
   @override
-  void resize(int width, int height) {
+  void resize(int width, int height, int pixelWidth, int pixelHeight) {
     client.setTerminalWindowSize(width, height);
   }