Skip to content

Instantly share code, notes, and snippets.

View mitkonikov's full-sized avatar
💭
Is this FFT?

Mitko Nikov mitkonikov

💭
Is this FFT?
View GitHub Profile
@mitkonikov
mitkonikov / ipython_shell_test.cpp
Created January 18, 2025 08:59
This Gist was just an experiment in trying to reproduce an issue that happens when VSCode sends commands to an IPython interactive shell, but from C++ process.
//
// This Gist was just an experiment in trying to reproduce an issue that happens
// when VSCode sends commands to an IPython interactive shell. The issue is that
// the IPython shell doesn't execute simple commands on new line in some special cases.
//
// This program assumes that you have the following python script in the same directory
// ```python
// from IPython.terminal.embed import InteractiveShellEmbed
//
// def main():