Closed kurtlawrence closed 4 years ago
There are times when taking the input into the REPL can result in undesirable behaviour.
An example is copy and pasting the following into the REPL (there is a TAB after app).
let apple = 1; "app "
The tab makes the "app complete which is undesirable.
Sometimes it is desirable, say if one does want the completion (with an animation potentially).
An option is to have a toggle on the completion so it can be switched on/off.
A more general solution would be to have a toggle to enter a 'verbatim' mode which takes each input as it is it and adds it to the input buffer.
Exiting verbatim mode would require the terminal break signal,
There are times when taking the input into the REPL can result in undesirable behaviour.
An example is copy and pasting the following into the REPL (there is a TAB after app).
The tab makes the "app complete which is undesirable.
Sometimes it is desirable, say if one does want the completion (with an animation potentially).
An option is to have a toggle on the completion so it can be switched on/off.
A more general solution would be to have a toggle to enter a 'verbatim' mode which takes each input as it is it and adds it to the input buffer.
Exiting verbatim mode would require the terminal break signal,