omerxx / tmux-sessionx

A Tmux session manager, with preview, fuzzy finding, and MORE
GNU General Public License v3.0
556 stars 51 forks source link

Does not open when using SSH on a Raspberry Pi 5 with Debian GNU/Linux 12 (bookworm) aarch64. #42

Closed av1155 closed 4 months ago

av1155 commented 5 months ago

Hi!

I love using this plugin on my MacOS device; however, on my Raspberry Pi it does not seem to open when I am connected via SSH (Blink Shell iOS). Also, when I use RealVNC Viewer to connect to the Raspberry Pi and use the local terminal it also does not open the window.

Can it be somehow that aarch64 Debian Linux is not supported? Or could it be the SSH?

CLI apps such as Neovim, Lazygit, etc do work. I wonder if this could be something that could be fixed or implemented if anyone knows how to 😄

omerxx commented 4 months ago

Hi @av1155 This is a special one :) Might be the way commands are sent to the remote instance? Does all other tmux bindings work for you? Also, do you have all the prerequisites installed on your device? What terminal are you running there?

Also might be the fzf release, I'm wondering whether there are any differences in the arch release / versions

omerxx commented 4 months ago

@av1155 I'll close this for now unless there's interest in solving a specific usecase, I'm happy for you to follow this and let me know if you find anything so we can share with others but otherwise ATM I think the priority here is quite low. Feel free to reopen :)

av1155 commented 4 months ago

Hey! Sorry for the late reply.

I think it is something with fzf, because I get this error (I screen recorded and paused at the exact millisecond to see the warning message when it shows up (it flashes the warning)).

"scrollbar display width should be 1"

IMG_0190

When I google it, it shows the following from the fzf source code: errorExit("scrollbar display width should be 1")

I do not think there's any fixing.

func postProcessOptions(opts *Options) {
    if opts.Ambidouble {
        uniseg.EastAsianAmbiguousWidth = 2
    }

    if err := validateSign(opts.Pointer, "pointer"); err != nil {
        errorExit(err.Error())
    }

    if err := validateSign(opts.Marker, "marker"); err != nil {
        errorExit(err.Error())
    }

    if !opts.Version && !tui.IsLightRendererSupported() && opts.Height.size > 0 {
        errorExit("--height option is currently not supported on this platform")
    }

    if opts.Scrollbar != nil {
        runes := []rune(*opts.Scrollbar)
        if len(runes) > 2 {
            errorExit("--scrollbar should be given one or two characters")
        }
        for _, r := range runes {
            if uniseg.StringWidth(string(r)) != 1 {
                errorExit("scrollbar display width should be 1")
            }
        }
    }
    ... etc, more code

https://github.com/junegunn/fzf/blob/master/src/options.go