Devashish Dixit
Devashish Dixit
This is a bit tricky to do when the string contains ANSI escape sequences for coloring.
Unfortunately, there's no way to this this right now. But, I can try to add support for this over the weekend.
Added a simple example of nested tables in #22. Nested tables still don't work perfectly on windows. All the color information of nested is dropped on windows. ([Ref](https://docs.rs/termcolor/1.1.3/termcolor/struct.Buffer.html#method.into_inner))
Released a version with this. All the color information of nested table is still dropped on windows. ([Ref](https://docs.rs/termcolor/1.1.3/termcolor/struct.Buffer.html#method.into_inner))
> I've now moved to using the `idb-sys` crate that doesn't use async, and there it works fine. The code is just way more convoluted, unfortunately. Thanks for creating this...
I've added tests in `idb` crate to test this and it seems to work: https://github.com/devashishdxt/idb/blob/750d6d3a3e4c2e0a0e0c821c853e5e8b1db8d0c0/idb/tests/transaction.rs#L167
Can you provide an example of what you're trying to do in `// modify object here`?
It is not possible for me to debug this without a reproducible example.
@elsirion Thanks for sharing an example. IndexedDB transaction work a little different as compared to transactions in other databases. Any transaction with no outstanding request gets committed when the control...
@elsirion Sure. You can try adding a transaction implementation (like other JS libraries do) on top. I think this'll greatly increase usability of indexedDB transaction in wasm.