From 35b43264c09405c987b48de78b6ca19f29dc7849 Mon Sep 17 00:00:00 2001 From: tom barrett Date: Thu, 14 Feb 2019 12:05:57 -0600 Subject: simplified receive pattern even more and moved all controls to the module --- src/client/engines.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/engines.rs') diff --git a/src/client/engines.rs b/src/client/engines.rs index 60ffcfd..32d869a 100644 --- a/src/client/engines.rs +++ b/src/client/engines.rs @@ -23,7 +23,7 @@ pub fn client_engines(mut stream: TcpStream, mut buff_r: BufReader) { writeln!( stdout, - "{}{}{}Fuel\nuse numpad to freely move", + "{}{}Fuel: {:.2}\nuse numpad to freely move", termion::clear::All, termion::cursor::Goto(1, 1), engines_data.fuel -- cgit v1.2.3