git » msnlib » commit c449cb4

Small tab completion fix.

author Alberto Bertogli
2005-04-12 20:55:10 UTC
committer Alberto Bertogli
2005-04-12 20:55:10 UTC
parent e3cd6b75012cb66b8ab4c0cc588b7cd4b607e55b

Small tab completion fix.

msn +2 -1

diff --git a/msn b/msn
index 05b890b..b94fb75 100644
--- a/msn
+++ b/msn
@@ -767,8 +767,9 @@ def stdin_read():
 				else:
 					matchp_root = pn
 					matchp_status = 2
+					inbuf = inbuf.rstrip()
 					pos = inbuf.rfind(' ')
-					inbuf = inbuf[:pos] + ' ' + email
+					inbuf = inbuf[:pos] + ' ' + email + ' '
 
 			redraw_cli()