Closed a-usr closed 1 year ago
While doing this would be worthwhile in the long term in my opinion, I fear we're currently not equipped to write such a documentation in the near term. If you'd like to get started now I'd suggest cloning the terminal repository, setting "Host.EXE" as the startup project and setting a breakpoint on this line: https://github.com/microsoft/terminal/blob/376737e54afc301ced37d5416bc836eadbc611d2/src/host/srvinit.cpp#L1051 While our code is fairly verbose right now, the code necessary to process console messages is not that difficult actually. Someone else has recently built an impressive reimplementation here for instance: https://github.com/o-sdn-o/vtm/blob/d38bf03c2e74124d72c31de5c7623f96864e80fa/src/netxs/desktopio/consrv.hpp
Thank you for you guidance. I will look into the terminal repository and the reimplementation you referenced. If its ok, I would like to come back to this issue if i face any problems that i am unable to solve alone?
Sure! Although it might almost be more fitting to start a discussion in the terminal repository: https://github.com/microsoft/terminal/discussions
I feel so stupid right now.. i was looking for the best place to ask this, and i first even considered opening a issue in the terminal repository... however i completely forgot about github discussions.. thank you for reminding me!
As the title suggests, i couldnt find any pointers to how i would create my own terminal emulator / console host. In my opinion, even if it isnt on here, it should be at least somewhere else in the documentation.