If you do something dumb enough, the test runner won't print out your test failures

ff2000 via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 24 12:24:16 PDT 2016


On Monday, 24 October 2016 at 18:45:36 UTC, Jacob Carlborg wrote:
> On 2016-10-24 14:37, Andrei Alexandrescu wrote:
>
>> Cool, mine is quite similar (I don't use mc so I use RPS1). 
>> One extra
>> thing I found useful is to display the running time of the 
>> last command
>> if longer than 1 second. -- Andrei
>
> What do you do if it takes longer than 1 second to build the 
> prompt ;)

Simply try to not take too long for prompt creation, e.g. by 
doing it async ;)
Google for "zsh async prompt" or get inspired by pure (which I 
use):
https://github.com/sindresorhus/pure


More information about the Digitalmars-d mailing list