Fix buffer decoration onRender, start using internal decoration

This commit is contained in:
Daniel Imms
2022-03-14 15:24:53 -07:00
parent 7dc3332b05
commit c8d1266f0a
8 changed files with 70 additions and 54 deletions
+1 -1
View File
@@ -548,7 +548,7 @@ function addDecoration() {
const marker = term.addMarker(1);
const decoration = term.registerDecoration({ marker });
decoration.onRender((e) => {
console.log(e);
console.log('onRender', e);
e.style.backgroundColor = 'red';
});
}