Skip to content
Myr

:sparkles: Add support for custom prompts in custom Termynal

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sebastián Ramírez · committed by Sebastián Ramírez · parent 95c1f10 · Browse files · 3 files+25 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+25 added−8 removed

  • other:+25 added−8 removed

3 files+25 added−8 removed

modified:docs/css/custom.css+6 added-1 removed
modified:docs/js/custom.js+17 added-3 removed
modified:docs/js/termynal.js+2 added-4 removed
241 unmodified lines
242 if (prop === 'class') {243 attrs += ` class=${line[prop]} `244 continue245 }246 attrs += this.pfx;247246 if (prop === 'type') {249 attrs += `="${line[prop]}" `247 attrs += `${this.pfx}="${line[prop]}" `248 } else if (prop !== 'value') {251 attrs += `-${prop}="${line[prop]}" `249 attrs += `${this.pfx}-${prop}="${line[prop]}" `250 }251 }252253 return attrs;
11 unmodified lines