We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b81ea28 commit 7a470a5Copy full SHA for 7a470a5
src/Tty.re
@@ -76,6 +76,11 @@ module WriteStream = {
76
[@bs.send]
77
external hasColorsFromEnv: (t, int, Js.Dict.t('ty)) => bool = "hasColors";
78
[@bs.send] external hasAtLeast16Colors: t => bool = "hasColors";
79
+ [@bs.send]
80
+ external moveCursor:
81
+ (t, int, int, [@bs.uncurry] (unit => unit)) => bool =
82
+ "moveCursor";
83
+ [@bs.get] external rows: t => int = "rows";
84
[@bs.get] external isTTY: t => bool = "isTTY";
85
external unsafeCoerceToSocket: t => Net.Socket.t = "%identity";
86
external unsafeCoerceFromSocket: Net.Socket.t => t = "%identity";
0 commit comments