Button to empty Terminal

Like optional textinput at terminal widget… It would be very helpful to have a button to empty it without need to stop/start etc…

And of course, to reimplement (?) terminal.clear() will be appreciated

//===== Clear Terminal Widget =====
BLYNK_WRITE(vPin) {  // Button Widget
  if (param.asInt()) {
    Blynk.virtualWrite(vPin, "clr");  // Clears terminal if button state is 1
  }
}

ok, almost perfect, but i mean one button inside terminal widget… like

I see… I find this works just as well… except for the terminals tendency to sometimes double up text :thinking: Usually only on the first line, which never shows until the 2nd line is input… then it doubles… but another topic I guess :slight_smile:

Just showing my alternative data entry and clear button solution.

image

BTW, I thought this issue was cleared up?? Along with the duplicate text issue… perhaps they can add in your CLR button when fixing those :smiley:

Perfect as alternative… but having terminal acting as a log… without entry input… a solution like i posted is more clean, do you think?

1 Like

Not knocking your idea, it would probably be a good optional addon, I guess… from some perspective… as some may NOT want a terminal to be clearable by the user.

I still like the fact that Blynk is a customisable development environment as many “built in” feature requests are not always as popular with some as others.

as an option like the input text… it will work, i think.

1 Like