Azure / simdem

Tool for Simulating Demo's, delivering Tutorials and using documentation as tests.
MIT License
34 stars 17 forks source link

Previous text is deleted and I can't see the output #125

Open jasonmesser7 opened 2 years ago

jasonmesser7 commented 2 years ago

After I execute commands it often clears the previous commands and outputs. I would like to be able to scroll up and see the old output, particularly when I am trying to understand why a particular deployment failed.

rgardler-msft commented 2 years ago

This is by design. it is cleaner in a demo environment to have the screen clear of distractions. The demo mode was the original use case.

We can add a command line switch to make this configurable and default to clear on demo but not clear on other modes.

Which modes would you suggest the "not clear" be the default?


From: jasonmesser7 @.> Sent: Friday, July 22, 2022 15:44 To: Azure/simdem @.> Cc: Subscribed @.***> Subject: [Azure/simdem] Previous text is deleted and I can't see the output (Issue #125)

After I execute commands it often clears the previous commands and outputs. I would like to be able to scroll up and see the old output, particularly when I am trying to understand why a particular deployment failed.

— Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fsimdem%2Fissues%2F125&data=05%7C01%7Cross.gardler%40microsoft.com%7C1656648fce634a6f11ac08da6c33c889%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637941266910720990%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2F53lkZkWTHaRvj4luijTgmzP7qrvP85Bzf4G2%2BCSKVE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZ5Z7CTKLG3IGWGYIQ5SDB3VVMP6BANCNFSM54M6N6OQ&data=05%7C01%7Cross.gardler%40microsoft.com%7C1656648fce634a6f11ac08da6c33c889%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637941266910720990%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ODaS%2FvE3hHtdTIwTbq1ixgDubZRxdvEgULzDZVvpNN4%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>

jasonmesser7 commented 2 years ago

It seems like it would make sense to have the output for learn, tutorial, and especially test as it would be helpful to look into why a certain test failed.

rgardler-msft commented 1 year ago

Test does not clear in the current version.

Learn and Tutorial I'm mixed on. It only clears on a new heading, so the clear is like a "new section". You can hit 'd' to see previous descriptions. Either way if a new command line switch is provided personal preference can override the default.


From: jasonmesser7 @.> Sent: Monday, July 25, 2022 10:53 To: Azure/simdem @.> Cc: Ross Gardler (HE/THEY) @.>; Comment @.> Subject: Re: [Azure/simdem] Previous text is deleted and I can't see the output (Issue #125)

It seems like it would make sense to have the output for learn, tutorial, and especially test as it would be helpful to look into why a certain test failed.

— Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fsimdem%2Fissues%2F125%23issuecomment-1194414235&data=05%7C01%7Cross.gardler%40microsoft.com%7C180a9deda1374f51585b08da6e669b13%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637943684215113430%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=iVUO3i8qECV%2FqDqHOmMc4vbiS9Nk2gnfKbfwz%2B%2F9Ixs%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZ5Z7CWBXLV73EOFNFVAXETVV3ICHANCNFSM54M6N6OQ&data=05%7C01%7Cross.gardler%40microsoft.com%7C180a9deda1374f51585b08da6e669b13%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637943684215113430%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=S7gPnd4Hc0ADw3oPxhPHtVGVtolD91WE2%2BUIcLGEvxg%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>