()
| 345 | } |
| 346 | |
| 347 | function new_line() { |
| 348 | const p = document.createElement("p"); |
| 349 | const span = document.createElement("span"); |
| 350 | const span2 = document.createElement("span"); |
| 351 | p.setAttribute("class", "path"); |
| 352 | p.textContent = config.terminal.user + " "; |
| 353 | span.textContent = config.terminal.host + " "; |
| 354 | span2.textContent = config.terminal.path + " "; |
| 355 | p.appendChild(span); |
| 356 | p.appendChild(span2); |
| 357 | app.appendChild(p); |
| 358 | const div = document.createElement("div"); |
| 359 | div.setAttribute("class", "type"); |
| 360 | const i = document.createElement("i"); |
| 361 | i.setAttribute("class", "fas fa-angle-right icone"); |
| 362 | const input = document.createElement("input"); |
| 363 | div.appendChild(i); |
| 364 | div.appendChild(input); |
| 365 | app.appendChild(div); |
| 366 | input.focus(); |
| 367 | } |
| 368 | |
| 369 | function removeInput() { |
| 370 | const div = document.querySelector(".type"); |
no outgoing calls
no test coverage detected