Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 python 开发一个终端应用程序。
我发现不同的终端仿真器表现不同,这让我的工作更加努力......
我想在我的代码中考虑不同的终端行为。
如何可靠地确定正在使用哪个终端仿真器(xterm、gnome-terminal、qtterminal 等)?