pkg.re/essentialkaos/ek.10@v12.41.0+incompatible/terminal/window/size_windows.go (about)

     1  // Package window provides methods for working terminal window
     2  package window
     3  
     4  // ////////////////////////////////////////////////////////////////////////////////// //
     5  //                                                                                    //
     6  //                         Copyright (c) 2022 ESSENTIAL KAOS                          //
     7  //      Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>     //
     8  //                                                                                    //
     9  // ////////////////////////////////////////////////////////////////////////////////// //
    10  
    11  // ❗ GetSize returns window width and height
    12  func GetSize() (int, int) {
    13  	panic("UNSUPPORTED")
    14  	return -1, -1
    15  }
    16  
    17  // ❗ GetWidth returns window width
    18  func GetWidth() int {
    19  	panic("UNSUPPORTED")
    20  	return -1
    21  }
    22  
    23  // ❗ GetHeight returns window height
    24  func GetHeight() int {
    25  	panic("UNSUPPORTED")
    26  	return -1
    27  }