#2636·ConEmu

Terminal output overlap/wrapping issue with CJK characters and Python in ConEmu

Author: yinkaishengCreated Mar 2, 2026Updated May 23, 2026
python
def test():
    text = '一二三四五六七八九十。' * 8 + '\nEnd'
    print(text)

if __name__ == '__main__':
    test()

Screenshot:

Image

Resize the ConEmu(v23.07.24) window to a width of approximately 60 columns (about 30 CJK characters). When printing a long string containing CJK (Full-width) characters in Python, the final part of the output (e.g., "End") incorrectly wraps to the beginning of the current line, overwriting previous characters. This behavior occurs in ConEmu but does not happen in the standard Windows CMD or when using Node.js in the same ConEmu environment.