Permalink
Browse files

Fix the special character drawings, thanks to Andrius Bentkus for fin…

…ding this problem (also fixes MacOS rendering)
  • Loading branch information...
1 parent b14ad69 commit dd6bc55fe82984a73dcd25517bd9af29e87de6c4 @migueldeicaza migueldeicaza committed Feb 24, 2011
View
@@ -220,9 +220,17 @@ namespace Mono.Terminal {
}
static char [] r = new char [1];
-
+
+ //
+ // Have to wrap the native addch, as it can not
+ // display unicode characters, we have to use addstr
+ // for that. but we need addch to render special ACS
+ // characters
+ //
public static int addch (int ch)
{
+ if (ch > 0xffff)
+ return _addch (ch);
char c = (char) ch;
return addstr (new String (c, 1));
}
@@ -39,6 +39,7 @@
</Member>
<Member MemberName="Begin">
<MemberSignature Language="C#" Value="public static Mono.Terminal.RunState Begin (Mono.Terminal.Container container);" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig class Mono.Terminal.RunState Begin(class Mono.Terminal.Container container) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
@@ -441,6 +442,7 @@
</Member>
<Member MemberName="End">
<MemberSignature Language="C#" Value="public static void End (Mono.Terminal.RunState state);" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig void End(class Mono.Terminal.RunState state) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
@@ -771,6 +773,7 @@
</Member>
<Member MemberName="RunLoop">
<MemberSignature Language="C#" Value="public static void RunLoop (Mono.Terminal.RunState state);" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig void RunLoop(class Mono.Terminal.RunState state) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
@@ -794,6 +797,7 @@
</Member>
<Member MemberName="RunLoop">
<MemberSignature Language="C#" Value="public static void RunLoop (Mono.Terminal.RunState state, bool wait);" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig void RunLoop(class Mono.Terminal.RunState state, bool wait) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
@@ -819,6 +823,7 @@
</Member>
<Member MemberName="Stop">
<MemberSignature Language="C#" Value="public static void Stop ();" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig void Stop() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
Oops, something went wrong.

0 comments on commit dd6bc55

Please sign in to comment.