Re: How to update terminal output?

2021-03-28 Thread Jack via Digitalmars-d-learn
On Sunday, 28 March 2021 at 16:45:29 UTC, dog2002 wrote: I mean, I want to write a string without a new line. For example, some command line applications have progress bars. For a single line string I use \r. But it doesn't work for a multiple line string - the application is just adding new

Re: How to update terminal output?

2021-03-28 Thread dog2002 via Digitalmars-d-learn
On Sunday, 28 March 2021 at 17:13:02 UTC, Mark Lagodych wrote: On Sunday, 28 March 2021 at 16:45:29 UTC, dog2002 wrote: I mean, I want to write a string without a new line. For example, some command line applications have progress bars. For a single line string I use \r. But it doesn't work

Re: How to update terminal output?

2021-03-28 Thread Adam D. Ruppe via Digitalmars-d-learn
On Sunday, 28 March 2021 at 17:13:02 UTC, Mark Lagodych wrote: Although some (all?) of that commands do not work in the Windows terminal. For instance, you can change background color ONLY using Windows API. Windows can support them all if you enable the setting. but yeah anything outside

Re: How to update terminal output?

2021-03-28 Thread Zardoz via Digitalmars-d-learn
On Sunday, 28 March 2021 at 16:45:29 UTC, dog2002 wrote: I mean, I want to write a string without a new line. For example, some command line applications have progress bars. For a single line string I use \r. But it doesn't work for a multiple line string - the application is just adding new

Re: How to update terminal output?

2021-03-28 Thread Mark Lagodych via Digitalmars-d-learn
On Sunday, 28 March 2021 at 16:45:29 UTC, dog2002 wrote: I mean, I want to write a string without a new line. For example, some command line applications have progress bars. For a single line string I use \r. But it doesn't work for a multiple line string - the application is just adding new

How to update terminal output?

2021-03-28 Thread dog2002 via Digitalmars-d-learn
I mean, I want to write a string without a new line. For example, some command line applications have progress bars. For a single line string I use \r. But it doesn't work for a multiple line string - the application is just adding new lines.