The TPromptControl (Anaface) and TShell (TrecLib) objects work together in order to present a terminal in an Anagame environment. However, I've only tested the echo command against the Windows Command Prompt
Multiple issues that could be fixed and tips on where to look for fixing them:
Characters in output signifying color (and possibly italics) are not checked for (look in the TPromptControl::onDraw method where the output is retrieved.
Basic file browsing commands ("cd", "pwd", "ls") are blocked ("ls" becasue Command Prompt deals with "dir" instead). Look in TShell::SubmitCommand(TString&) method.
No history support (look into TPromptControl for intercepting up/down arrow keys and TShell for documenting history
More complex commands should be tested
Right now, there is no dedicated branch for this issue, but the TImage branch should work.
The TPromptControl (Anaface) and TShell (TrecLib) objects work together in order to present a terminal in an Anagame environment. However, I've only tested the echo command against the Windows Command Prompt
Multiple issues that could be fixed and tips on where to look for fixing them:
Right now, there is no dedicated branch for this issue, but the TImage branch should work.