Fix chat with cli arguments

This commit is contained in:
ChillerDragon 2024-06-22 12:21:48 +08:00
parent 1f46adca46
commit deb679d1d0

View file

@ -85,6 +85,6 @@ end
client.connect(args[:ip], args[:port], detach: true)
loop do
msg = gets.chomp
msg = $stdin.gets.chomp
client.send_chat(msg)
end