<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57754>57754</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
On Linux using lldb-vscode how do I handle getchar() in a CLI app?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
acotty
</td>
</tr>
</table>
<pre>
On Linux when I use lldb-vscode to debug a simple CLI app with a getchar() in it how should the getchar() work with regards to where it the input from/sourced or sent to the lldb-vscode app being debugged?
I cannot see any terminal like the MSYS2 clang64 Windows lldb-vscode.exe starts.
The DAP protocol does not allow the IDE to send any input to the lldb-vscode.
The lldb-vscode does not sent a RunInTerminalRequest.
Any ideas?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxlUttunDAQ_Rp4GQWBgWV54GGbbaSVUrVKIlV9NPYATrw29SVk_74226QolZDxZeacM3Om1_zSfVdwL5R_g2VCBSfwFkFK3t-8WqY5gtPAsfcjULDiPEuE2_sT0HmGRbgp3I7o2ERNQvYJaUEoEA4mvYCdtJcc3ISfQhZtXq7JBkdquI0cgd1gTI3xQs3ewWD0OSF3VnvDkIM2YFG5GBxjthqjmh6FGq9SR-RJeZfkxyQ_XNcTMKqUdgEhRKsLODRnoagEKV5wxfv2-OuRAJNUjbsKfgrF9WK3LBm-IVhHjbPZFfUppB0PP2A22mmmJXCNFiINlTJ0IMKejl-j4qCcr8TX0v6vYQO5rewDcS2dwoNXJ_X0V_wD_vZoXbat9BA5OFIbOpBiV-x2JSnKsilT3pW8LVuaOuEk_vPd29i4LWl0j-swCxNVXH62LzhM32cgkngju8m5OTAegl3hG4O3vs_Yap-Ur--_m9CoZ2QuHIW1QXrY1E1TV-nUVS2r90PF231Lil1dDbuK84aRhrKc9pSnkvYobZfUXxJCFC6wQoR9Uh9T0ZGckLwt6rysSF1mQ5vnTT5U1dC3dVFgUuV4pkJmUUemzZiabpUUxsWGRylssPXjkVorRoW40gV86t2kTUeZdu6SrszdqvwPyNMU6w">