Skip to content

tl doesn't exit gracefully (and hangs if called from inside another terminal UI) #59

Description

@Roobxyz

OK bear with me here - I wanted to use this to view kubernetes pod logs, easy:

kubectl logs job-123 -f | tl

Except most of my time in kubernetes is spent using k9s
And k9s offers the ability to write custom plugins

So I thought, I'll bind Ctrl-L in k9s to kc log job-123 | tl and I'll have much better logging!

However due to the way tl handles quitting, k9s hangs whenever I Ctrl-C tl.
I then have to SIGKILL everything in order to get my terminal back...

It would be really cool if there was a way to more elegantly quit (which I suspect would fix this) or if the handling around SIGINT was a improved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions