lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

I've always used:


same width, and I'm reminded in which shell I'm in.

-----Original Message----- From: Soni "They/Them" L. Hi! As you may or may not know, Lua uses _PROMPT and _PROMPT2 in the standard REPL (indeed, it's described in the reference manual).

Their default values, e.g. when unset, are "> " and ">> ". There are some reasons why this isn't good:

1. Terminals have block selection mode (hold control while selecting). The different widths makes this difficult.
2. That's about the only reason.