-
- Downloads
Fixes 'no-text' bug in HTTP server's raw text
Such a big commit to provide a fix which really only involves a few lines in the graphics builder. It would seem that the very first time the BlockCharMono font is rendered it needs a little delay. So there's a refactor here to use a callback when requesting a screenshot with text. All the other code in this commit is just the scaffolding to try to fix this issue. It's all good stuff in itself. Basically stricter code triggers for the different stages of page load: tab load, DOM ready, page ready. I actually wonder if the TTY page loads feel snappier now? closes #46
Showing
- interfacer/src/browsh/comms.go 1 addition, 3 deletionsinterfacer/src/browsh/comms.go
- interfacer/src/browsh/config_sample.go 1 addition, 1 deletioninterfacer/src/browsh/config_sample.go
- webext/assets/styles.css 1 addition, 2 deletionswebext/assets/styles.css
- webext/src/background/tab.js 2 additions, 2 deletionswebext/src/background/tab.js
- webext/src/background/tty_commands_mixin.js 10 additions, 7 deletionswebext/src/background/tty_commands_mixin.js
- webext/src/dom/commands_mixin.js 8 additions, 9 deletionswebext/src/dom/commands_mixin.js
- webext/src/dom/graphics_builder.js 34 additions, 9 deletionswebext/src/dom/graphics_builder.js
- webext/src/dom/manager.js 46 additions, 15 deletionswebext/src/dom/manager.js
- webext/src/dom/text_builder.js 7 additions, 15 deletionswebext/src/dom/text_builder.js
- webext/test/helper.js 13 additions, 11 deletionswebext/test/helper.js
- webext/test/text_builder_spec.js 6 additions, 3 deletionswebext/test/text_builder_spec.js
Loading
Please register or sign in to comment