Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

cbTerminal plugin to access terminal from the bottom panel for Linux ( wxGtk )

<< < (2/2)

christo:
@ollydbg, by default nothing will be shown. You have to integrate a pseudo terminal, then only the widget will be useful. Also please refer https://github.com/josephch/cb-TerminalWx/blob/dfad6bd1922b70af7f9d33f09fbd51bf7608710f/cbTerminalView_TerminalWx.cpp , you can see how data is read and written to the terminal emulator.

ollydbg:
I tried, and derived a new class named "TerminalWxWin", and it use the winpty library from msys2/mingw.

The final result is: some text is shown in the main frame, see below, but still far from usage, I can't enter any text, and the input text does not show fully.

See image shot below.

I have push my changes to my code repo: https://github.com/asmwarrior/TerminalWx

christo:
@ollydbg, this is good progress. Could you please check my comment https://github.com/asmwarrior/TerminalWx/commit/3cd8578500ea91bc23b3c13f6e3865c9b87b42e4#r151768824 ?

Thanks, Christo

ollydbg:

--- Quote from: christo on January 25, 2025, 06:56:32 pm ---@ollydbg, this is good progress. Could you please check my comment https://github.com/asmwarrior/TerminalWx/commit/3cd8578500ea91bc23b3c13f6e3865c9b87b42e4#r151768824 ?

Thanks, Christo

--- End quote ---

Thanks, actually, that code is created by some AI, and I know little about how the terminal works.

I create an issue about the reading of the console text here with some of by debug result.

Windows console text does not show correctly  Issue #1 asmwarrior/TerminalWx

Navigation

[0] Message Index

[*] Previous page

Go to full version