Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing spaces in content? #47

Closed
GoogleCodeExporter opened this issue Feb 25, 2016 · 1 comment
Closed

Trailing spaces in content? #47

GoogleCodeExporter opened this issue Feb 25, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Install trunk
2. Run :ConqueTerm bash
3. Execute 'echo foo'
4. Notice (via set hlsearch and then '/ ') that output contains enough tailing 
space characters to fill thee terminal width.

I expect a newline to appear after 'foo' and no trailing spaces to occur.

- Rhys

Original issue reported on code.google.com by rhys.ule...@gmail.com on 6 Mar 2011 at 6:30

@GoogleCodeExporter
Copy link
Author

Thanks for the bug report. I checked in a fix for the next release. Until then 
you should be able to get rid of the trailing extra space by applying this 
change to autoload/conque_term/conque_screen.py

Index: autoload/conque_term/conque_screen.py
===================================================================
--- autoload/conque_term/conque_screen.py       (revision 448)
+++ autoload/conque_term/conque_screen.py       (working copy)
@@ -82,7 +82,7 @@
         # if line is past buffer end, add lines to buffer
         if real_line >= len(self.buffer):
             for i in range(len(self.buffer), real_line + 1):
-                self.append(' ' * self.screen_width)
+                self.append(' ')

         return u(self.buffer[real_line], 'utf-8')
     # }}}

Original comment by nicora...@gmail.com on 8 Mar 2011 at 1:10

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant