Parcourir la Source

~/.bin/rly: Well, it's better to not send everything everytime again.

This is a bugfix. That is, previously *all* commands in one session
were passed to nailgun everytime. How could I test this?
Lucas Stadler 14 ans auparavant
Parent
commit
520a03e491
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      .bin/rly

+ 1 - 0
.bin/rly

@ -55,6 +55,7 @@ rl.on 'line', (cmd) ->
55 55
	cmd = cmplt + cmd
56 56
	if is_balanced cmd
57 57
		send_to_repl cmd
58
		cmplt = ""
58 59
	else
59 60
		cmplt = cmd
60 61
		rl.write("  ")