@@ -12,7 +12,7 @@ open Internal.Utilities
1212/// When this fix flag is true, this byte is converted to a char using the System.Console.InputEncoding.
1313/// This is a code-around for bug://1345.
1414/// Fixes to System.Console.ReadKey may break this code around, hence the option here.
15- module ConsoleOptions =
15+ module internal ConsoleOptions =
1616
1717// Bug 4254 was fixed in Dev11 (Net4.5), so this flag tracks making this fix up version specific.
1818let fixupRequired = not FSharpEnvironment.IsRunningOnNetFx45OrAbove
@@ -35,10 +35,10 @@ module ConsoleOptions =
3535else
3636 c
3737
38- type Style = Prompt| Out| Error
38+ type internal Style = Prompt| Out| Error
3939
4040/// Class managing the command History.
41- type History () =
41+ type internal History () =
4242let list = new List< string>()
4343let mutable current = 0
4444
@@ -73,14 +73,14 @@ type History() =
7373
7474/// List of available optionsCache
7575
76- type Options () =
76+ type internal Options () =
7777inherit History()
7878let mutable root = " "
7979member x.Root with get() = rootand set ( v ) = ( root<- v)
8080
8181/// Cursor position management
8282
83- module Utils =
83+ module internal Utils =
8484
8585open System
8686open System.Reflection
@@ -129,7 +129,7 @@ module Utils =
129129
130130
131131[<Sealed>]
132- type Cursor =
132+ type internal Cursor =
133133static member ResetTo ( top , left ) =
134134 Utils.guard( fun () ->
135135 Console.CursorTop<- top;
@@ -140,7 +140,7 @@ type Cursor =
140140let left = inset+ position% ( Console.BufferWidth- inset)
141141 Cursor.ResetTo( top, left)
142142
143- type Anchor =
143+ type internal Anchor =
144144{ top: int ; left: int }
145145static member Current ( inset ) = { top= Console.CursorTop; left= max inset Console.CursorLeft}
146146
@@ -150,7 +150,7 @@ type Anchor =
150150let top = p.top+ ( ( p.left- inset) + index) / ( Console.BufferWidth- inset)
151151 Cursor.ResetTo( top, left)
152152
153- type ReadLineConsole () =
153+ type internal ReadLineConsole () =
154154let history = new History()
155155let mutable complete : ( string option * string -> seq < string >) = fun ( _s1 , _s2 ) -> Seq.empty
156156member x.SetCompletionFunction f = complete<- f