The document discusses terminal input/output and window resizing in Go. It covers terminal modes like canonical, non-canonical, and raw modes. It describes the termios struct and how it is used to configure terminal settings. It also discusses VT100 escape sequences for color and formatting text. Finally, it mentions using ioctl with TIOCGWINSZ to get the window size and handling SIGWINCH signals to detect resizes.
The document discusses terminal input/output and window resizing in Go. It covers terminal modes like canonical, non-canonical, and raw modes. It describes the termios struct and how it is used to configure terminal settings. It also discusses VT100 escape sequences for color and formatting text. Finally, it mentions using ioctl with TIOCGWINSZ to get the window size and handling SIGWINCH signals to detect resizes.
49. aokomoriuta (2013-10-12): 計算シミュレーション勉強会#1
return 0;
Otherwise noted, all text and images are available
under the Creative Commons Attribution-Share Alike or Attribution-Noncommercial 3.0 Unported.
一部で特別な指定があるものを除き、全ての文章と画像は
クリエイティブ・コモンズ 表示-継承または表示-非営利 3.0 非移植で利用可能です。
CC-BY-SA: http://creativecommons.org/licenses/by-sa/3.0
CC-BY-NC: http://creativecommons.org/licenses/by-nc/3.0