[GB.FORM.TERMINAL]

* BUG: Invert Foreground and Background on 256 mode. But i don't know why.


git-svn-id: svn://localhost/gambas/trunk@7680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Fabien Bodard 2016-03-27 17:32:09 +00:00
parent a6e5567815
commit aa44a876a8

View file

@ -227,12 +227,12 @@ Private Sub Escape(hScreen As TerminalScreen, sData As String, iPos As Integer,
hScreen.Attr.Background = iArg - 100
Case 38
If aArg.Count = 3 And If aArg[1] = "5" Then
Try hScreen.Attr.BackGround = CInt(aArg[2])
Try hScreen.Attr.Foreground = CInt(aArg[2])
Break
Endif
Case 48
If aArg.Count = 3 And If aArg[1] = "5" Then
Try hScreen.Attr.Foreground = CInt(aArg[2])
Try hScreen.Attr.Background = CInt(aArg[2])
Break
Endif
' Case 38