我在使用Xterm5.3.0库的时候发现,当我终端输入的长度大于某一个值的时候,新输入的字符并不会随着我设置的cols起效,而是会替换行首的字符。麻烦问一下各位如何解决?
When I was using the Xterm5.3.0 library, I found that when the length of my terminal input was greater than a certain value, the newly entered character did not take effect with the cols I set, but replaced the character at the beginning of the line. Could you tell me how to solve it?
我在使用Xterm5.3.0库的时候发现,当我终端输入的长度大于某一个值的时候,新输入的字符并不会随着我设置的cols起效,而是会替换行首的字符。麻烦问一下各位如何解决? When I was using the Xterm5.3.0 library, I found that when the length of my terminal input was greater than a certain value, the newly entered character did not take effect with the cols I set, but replaced the character at the beginning of the line. Could you tell me how to solve it?
下面是我的演示gif Here is my demo gif
下面是我的实例化代码 Here is my instantiation code