Results 12 issues of hlizard

[SDL_bgi](http://libxbgi.sourceforge.net/)对BGI的兼容性非常高, 而且经测试SDL_bgi还能通过emscripten编译为wasm在浏览器中运行(需自行编译SDL_bgi.o), 因此建议IDE也能搭载SDL_bgi库并在未来能支持emscripten编译和启动浏览器执行, 毕竟能通过Web直接分享自己的作品对于学习者是很令人兴奋的事. 另外当前IDE已经搭载的raylib官方就直接支持emscripten编译, 所以用raylib来开发在线小游戏等作品也是很方便的. ![image](https://user-images.githubusercontent.com/6994037/167610052-5c3701ec-c2d0-4d1d-b2c0-94e5d2cafa90.png) 以下是我使用的编译选项(注意: 由于wasm平台的差异, 需对sdlbgidemo.c代码稍作调整才行, 具体可参考https://www.jamesfmackenzie.com/2019/11/30/whats-is-webassembly-hello-world/) ``` SDL_bgi-2.5.1\src>emcc -gsource-map sdlbgidemo.c SDL_bgi.o -o sdlbgidemo.html --embed-file logo.bmp --embed-file plasma.bmp --source-map-base / -pthread -sUSE_SDL=2 -s ASYNCIFY -s ALLOW_MEMORY_GROWTH=1...

![image](https://user-images.githubusercontent.com/6994037/167605046-d5a6c97a-6268-47e7-9c23-461041b3dbce.png) 此时按下Ctrl+S只会让自动完成提示框关闭, 但不会保存文件, 希望改为在这种情况下按Ctrl+S也能直接保存文件.