question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support less fancy terminals

See original GitHub issue

The new bankai has pretty fancy terminal logging! But not everyone runs it in a terminal that supports all these fancy features. For example, term-mode in Emacs really dislikes the fact that bankai takes over the terminal. Also, if you’re using bankai on the server side, it can get in the way of your server logging. While I think we should keep these features, I think there should be a configuration option for basic logging (like the old bankai logging) that works on simpler terminals.

We could by default make the decision to use basic or fancy logging based on the TERM environment variable.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Fletcommented, Nov 16, 2017

Well, I have something kinda working that might help this… I hacked together a version of ui.js that will log to stdout instead.

simple-logs

This allows bankai to be used programmatically without it blowing away existing sever logs 😃 It would be nice to detect tty but also enable this under a flag… but I’m not certain.

@yoshuawuyts any other thoughts on this?

0reactions
yoshuawuytscommented, Nov 17, 2017

@Flet this is cool!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support running Pulumi in lower-tech terminals #1492
Support running Pulumi in lower-tech terminals #1492 ... we detect being in a "dumb terminal" and fallback to a less fancy output scheme?...
Read more >
Terminal Appearance in Visual Studio Code
Visual Studio Code's integrated terminal allows customizing its appearance in various ways.
Read more >
The Best Free Standalone Terminals for Windows 10 (2020)
If you are anyone that has tried to use a terminal for Windows I am sorry for your suffering. Below are some of...
Read more >
My Top Five Minimal Terminal Emulators - YouTube
I've used many terminal emulators on Linux, and the ones I typically use ... cruft here like tabs and ligature support in these...
Read more >
22 Useful Terminal Emulators for Linux Desktop - Tecmint
1. Terminator. Terminator is an advanced and powerful terminal emulator which supports multiple terminal windows and comes with some additional ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found