diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-09-05 22:53:34 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-09-05 23:22:09 +0200 |
commit | d7b0b447b7e254d4af37f09acfa258956d24a7e0 (patch) | |
tree | 134f30af2bacc49239a7397574a2d1ea7871aa9c /xP/public/xP.js | |
parent | 25ad5ae0ec8afe0a8f60d7602ca2357f561246d6 (diff) | |
download | xK-d7b0b447b7e254d4af37f09acfa258956d24a7e0.tar.gz xK-d7b0b447b7e254d4af37f09acfa258956d24a7e0.tar.xz xK-d7b0b447b7e254d4af37f09acfa258956d24a7e0.zip |
xC/xP: turn the action asterisk into a rendition
Diffstat (limited to 'xP/public/xP.js')
-rw-r--r-- | xP/public/xP.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/xP/public/xP.js b/xP/public/xP.js index 7517ef8..13507d6 100644 --- a/xP/public/xP.js +++ b/xP/public/xP.js @@ -120,11 +120,12 @@ let Content = { let line = vnode.children[0] let content = [] switch (line.rendition) { - case 'Indent': content.push(m('span.mark', {}, '')); break - case 'Status': content.push(m('span.mark', {}, '–')); break - case 'Error': content.push(m('span.mark.error', {}, '⚠')); break - case 'Join': content.push(m('span.mark.join', {}, '→')); break - case 'Part': content.push(m('span.mark.part', {}, '←')); break + case 'Indent': content.push(m('span.mark', {}, '')); break + case 'Status': content.push(m('span.mark', {}, '–')); break + case 'Error': content.push(m('span.mark.error', {}, '⚠')); break + case 'Join': content.push(m('span.mark.join', {}, '→')); break + case 'Part': content.push(m('span.mark.part', {}, '←')); break + case 'Action': content.push(m('span.mark.action', {}, '✶')); break } let classes = new Set() |