Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frozen terminal when using --edit using last release (0.2.7) in Arch Linux. #193

Open
Disonantemus opened this issue Mar 4, 2024 · 0 comments

Comments

@Disonantemus
Copy link

Thanks 4 termshot because till today, I just did enlarge the font a lot and did the best screenshot I could to share it with someone.

Works good when doing basic CLI screenshot:

$ termshot --show-cmd -- ls -1

But adding --edit command, editor show content, but stay frozen:

$ termshot --edit --show-cmd -- ls -1

I did try changing editor (vis, nano, busybox vi) with same result:
$ EDITOR=nano termshot --edit --show-cmd -- ls -1 ~/.config/mpv

This is the frozen output (ls -1 ~/.config/mpv):

^[[38;2;0;255;0m...^[[0m ^[[38;2;105;105
input.conf^M
mpv.conf^M
scripts^M
shaders^M
~
~
~
~
~
bad option: number

Then I had to open another terminal to unfrozen it (by killing): pkill termshot

I did try with two terminals, with | without multiplexer, but happens the same:

  • xterm
  • kitty
  • st
  • tmux

I did use:

  • Last binary from: releases
  • Also: brew install homeport/tap/termshot from README.md

Maybe it's the same and will work if I do compilation by myself with last GIT. I'm no programmer and just do AUR compilations, if I get a minimal problem, I'm not able to fix it.

  • But seems strange, that no one else did the Issue.
  • What am I doing wrong?

Software versions:

$ termshot -v
termshot version 0.2.7

$ xterm -v
XTerm(390)

$ st -v
st 0.9

$ kitty -v
kitty 0.31.0 created by Kovid Goyal

$ neofetch distro kernel
distro: Arch Linux x86_64
kernel: 6.1.52-1-lts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant