[erlang-questions] : Deleting last line in the Erlang Shell

Richard Carlsson richardc@REDACTED
Thu Apr 26 22:40:39 CEST 2007

Jordan Wilberding wrote:
> That idea does not seem to work either. Once enter has been hit, it
> seems like it can't go back to erase that line.
> Maybe there is a way to catch the enter key?

You're not likely to be able to achieve what you are trying to do as
long as you are reading buffered input from a terminal. Somebody who
knows more about the terminal driver in Erlang might be able to tell us
if it is at all possible without writing a separate driver. Anyone?


More information about the erlang-questions mailing list