AJ Alt

Results 159 comments of AJ Alt

I can see something like that being useful. On JVM at least, you can also redirect all of stdout through mordant: https://github.com/ajalt/mordant/issues/171#issuecomment-2131244827

You're probably running the code through a wrapper that's [preventing terminal detection](https://ajalt.github.io/mordant/guide/#terminal-color-support-detection). Try constructing your terminal with `Terminal(AnsiLevel.TRUECOLOR)`

You're right, that's [not currently configurable][1]. It wouldn't be hard to support by adding a new theme entry. Although we'd want to support right alignment too, so we'd have to...

Emscripten has some [docs on dynamic linking][1]. One solution they mention is to include the library in the wasm filesystem, then link to it using regular `dlopen`. Another less elegant...

Yes, I compiled pdfium against WASI myself. It just requires some extra command line flags vs wasm-js. If you clone the [pdfium-lib][1] project, this patch should get it to compile...

The linker example is compiled to a regular rust binary: wasmtime is the engine/runtime for the wasm code you've compiled. basically you would compile three things: 1. Use emscripten to...

I was able to get a build by using https://github.com/paulocoutinhox/pdfium-lib but adding these flags to the [emscripten build command][1]: ``` -sSTANDALONE_WASM=1 -sWASM_ASYNC_COMPILATION=0 -sWARN_ON_UNDEFINED_SYMBOLS=1 -sERROR_ON_UNDEFINED_SYMBOLS=0 ``` I didn't try to link...

You can use that build in a standalone WASM environment, but [emscripten requires some host-side code](https://github.com/emscripten-core/emscripten/pull/18285) to support longjmp. Emscripten generates a JS harness with all this code, so you...

You're correct that this is a known issue. Last I checked, the IntelliJ console doesn't support ANSI cursor movements, and we [have code to specifically handle that case][1]. Are you...

I don't think is fixable on Mordant's end, but you could try filing a bug against IntelliJ to get them to support ANSI cursor movements.