Fix xterm.js font override using canvas monkey-patch
The previous approach tried to access container.terminal which doesn't exist since textual.js doesn't expose the terminal instance to the DOM. New approach monkey-patches CanvasRenderingContext2D.prototype.font setter BEFORE textual.js loads to intercept all canvas font assignments and replace xterm.js default font with our custom monospace stack. Bump version to 0.3.16
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "textual-webterm"
|
||||
version = "0.3.15"
|
||||
version = "0.3.16"
|
||||
description = "Serve terminal sessions over the web"
|
||||
authors = ["Will McGugan <will@textualize.io>"]
|
||||
license = "MIT"
|
||||
|
||||
Reference in New Issue
Block a user