Esempio n. 1
0
 /// <summary>
 /// Maps to:
 /// <code>int terminal_open();</code>
 ///
 /// This function initializes BearLibTerminal instance, configuring the window with default parameters:<br/>
 /// <list>
 ///     <item>- 80×25 cells</item>
 ///     <item>- Fixedsys Excelsior font</item>
 ///     <item>- white text</item>
 ///     <item>- black background</item>
 /// </list>
 /// This function does not bring the window to screen. The window is not shown until the first call to refresh.<br/>
 /// Note that unless the library is initialized with successful call to open,<br/>
 /// all other library functions will do nothing but return immediately with return code (if any) indicating an error.<br/>
 /// <br/>
 /// The function returns boolean value where false means initialization has failed.<br/>
 /// Details may be found in the log file (named bearlibterminal.log by default).<br/>
 ///
 /// </summary>
 /// <returns>The function returns boolean value where false means initialization has failed.</returns>
 public static bool Open()
 {
     return(BearLibTerminalIntegration.Open());
 }