"use strict"; const red = "#f15056"; const yellow = "#f9c536"; const green = "#39e949"; /** * Creates a circular window button. * @param fill The fill to create with. */ function createButton(fill) { let button = ""; button += ""; button += ""; return button; } /** * Exported members. */ module.exports = { /** * Create a terminal representation based on a body of text. * @param body The text/command to include in the terminal. */ createTerm: function (body) { const termWindow = "
" + createButton(yellow) + createButton(green) + createButton(red) + "
"; const termBody = "
$" + body + "
"; return termWindow + termBody; } }