Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

133
Visualizações
JQuery Terminal - How to prevent a command line being displayed in the terminal history

Does anyone know how to prevent a command from going into history in JQuery Terminal? That is, when a command is typed it triggers my :

var term = $('body').terminal(
  function(command) {
    //stuff here for dealing with the contents of 'command'.
  }

Main hander function. When this function returns, terminal will then insert a line on the page and display a new prompt line underneath.

What I want to do (optionally) is say 'this command I've intercepted and worked on doesn't need to go into history'.

Alternatively how can I delete the last command from history?

Is that possible?

Edit: By way of avoiding XY problems: The task I'm trying to achieve is to create a terminal, and then on behalf of the user, enter commands. Ideally entry of the commands would be animated (a delay between letters). It's nearly working but not quite.

almost 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda