mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
readline: give the possibility to ignore the empty line in the history (#13452)
This commit is contained in:
@@ -42,7 +42,9 @@ enum FnType {
|
||||
|
||||
fn new_repl() Repl {
|
||||
return Repl{
|
||||
readline: readline.Readline{}
|
||||
readline: readline.Readline{
|
||||
skip_empty: true
|
||||
}
|
||||
modules: ['os', 'time', 'math']
|
||||
vstartup_lines: os.read_file(vstartup) or { '' }.trim_right('\n\r').split_into_lines()
|
||||
// Test file used to check if a function as a void return or a
|
||||
|
||||
Reference in New Issue
Block a user