Skip to content

Commit

Permalink
Fix chat with cli arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Jun 22, 2024
1 parent 1f46adc commit deb679d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_sample.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ def show_help
client.connect(args[:ip], args[:port], detach: true)

loop do
msg = gets.chomp
msg = $stdin.gets.chomp
client.send_chat(msg)
end

0 comments on commit deb679d

Please sign in to comment.