Added support for switching the terminal to bold mode.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package net.rubygrapefruit.platform.internal;
|
||||
|
||||
public class NativeLibraryFunctions {
|
||||
public static final int VERSION = 1;
|
||||
|
||||
public static native int getVersion();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package net.rubygrapefruit.platform.internal;
|
||||
|
||||
public class TerminfoFunctions {
|
||||
/**
|
||||
* Sets up terminal info and switches output to normal mode.
|
||||
*/
|
||||
public static native void initTerminal(int filedes, FunctionResult result);
|
||||
|
||||
public static native void bold(int filedes, FunctionResult result);
|
||||
|
||||
public static native void normal(int filedes, FunctionResult result);
|
||||
}
|
||||
Reference in New Issue
Block a user