Hello, I'm working on a program to read from a serial port via USB serial device. I started working on it when I was using Geany v. 1.38. With that version, it would compile and run in the VTE widget just fine. I recently updated to 2.0 (through Flathub). Now whenever I start my program in the VTE I keep getting a:
Error 9 from tcgetattr: Bad file descriptor
whenever I try to configure the port.
I feel like this is a Geany 2.0 problem because like I mentioned, it ran fine in v. 1.38. Also, my program runs fine in a separate terminal window.

Sent with Proton Mail secure email.