littlewhitecloud / TkTerminal

A terminal emulator widget written in Python using tkinter
MIT License
15 stars 2 forks source link

Only get the first command's output #26

Closed littlewhitecloud closed 1 year ago

littlewhitecloud commented 1 year ago

Like this: image

Input:

PS......> dir
PS......> dir

Want:

....... C: ....
...... xxxx-xxxx

C:\....\....\...\....\...\

xxxx/xx/xx xx:xx <type> .
xxxx/xx/xx xx:xx <type> ..
xxxx/xx/xx xx:xx        x,xxx xxxx.xx
...

....... C: ....
...... xxxx-xxxx

C:\....\....\...\....\...\

xxxx/xx/xx xx:xx <type> .
xxxx/xx/xx xx:xx <type> ..
xxxx/xx/xx xx:xx        x,xxx xxxx.xx
...

Output twice

But:

....... C: ....
...... xxxx-xxxx

C:\....\....\...\....\...\

xxxx/xx/xx xx:xx <type> .
xxxx/xx/xx xx:xx <type> ..
xxxx/xx/xx xx:xx        x,xxx xxxx.xx
...

Only once

littlewhitecloud commented 1 year ago

Fixed, will close when the Improve pr close.