termshot icon indicating copy to clipboard operation
termshot copied to clipboard

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

Open Disonantemus opened this issue 11 months ago • 0 comments

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

Disonantemus avatar Mar 04 '24 17:03 Disonantemus