Reputation: 101
Is there any why to clear the erlang screen with Ctrl+L like shortcut?
Upvotes: 4
Views: 746
Reputation: 2544
Use rlwrap -a erl
command.
rlwrap
is completely transparent to Erlang shell in case of user character input and it wraps them with readline that provides line-editing and history capabilities for interactive programs with a command-line interface like erl
.
Note that in a case of using commands like Ctrl+g or Tab for name completion, rlwrap
doesn't pass it to Erlang shell.
Upvotes: 4