Sreekanth Nagareddy
Sreekanth Nagareddy

Reputation: 101

How to clear the screen in erlang with Ctrl+L or similar?

Is there any why to clear the erlang screen with Ctrl+L like shortcut?

Upvotes: 4

Views: 746

Answers (1)

Hamidreza Soleimani
Hamidreza Soleimani

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

Related Questions