I think you will need to ask the fish developers to help figure out why it
is not asking tmux to change the cursor.




On Thu, 28 Oct 2021 at 15:27, Chinmay Dalal <[email protected]>
wrote:

> I start fish from my bashrc (my default shell is bash, to properly read
> /etc/profile and /etc/profile.d). I don't think it is possible to miss
> configuration
>
> bashrc:
>
> export GPG_TTY=$(tty)
> gpg-connect-agent updatestartuptty /bye >/dev/null
>
> # If not running interactively, don't do anything
> [[ $- != *i* ]] && return
>
> alias ls='ls --color=auto'
> PS1='[\u@\h \W]\$ '
>
> if [[ $(ps --no-header --pid=$PPID --format=cmd) != "fish" ]] \
>     && [ -z "$BASH_EXECUTION_STRING" ] \
>     && [[ $- == *i* ]] \
>     && command -v fish &> /dev/null
> then
>     exec fish
> fi
>
> However fish seems to be doing something with tmux here:
> https://github.com/fish-shell/fish-shell/blob/1db25c9b31290c57483e8726f2c64bcde7cc30fa/share/functions/fish_vi_cursor.fish#L88-L121
>
> I'll ask fish too, thanks for looking into this
> On Thursday, 28 October, 2021 at 7:41:20 pm UTC+5:30 [email protected]
> wrote:
>
>> There is no evidence of fish attempting to change the cursor in this log,
>> maybe you are missing some bit of configuration when it is running inside
>> tmux?
>>
>>
>>
>> On Thu, 28 Oct 2021 at 14:36, Chinmay Dalal <[email protected]>
>> wrote:
>>
>>> I've attached a log with echo statements when I changed modes
>>>
>>> On Thursday, 28 October, 2021 at 6:51:37 pm UTC+5:30
>>> [email protected] wrote:
>>>
>>>> This log is truncated before there is any output from fish.
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, 28 Oct 2021 at 13:38, Chinmay Dalal <[email protected]>
>>>> wrote:
>>>>
>>>>> Here, https://paste.rs/HGj
>>>>>
>>>>> On Thursday, 28 October, 2021 at 5:53:18 pm UTC+5:30
>>>>> [email protected] wrote:
>>>>>
>>>>>> Show tmux server log please.
>>>>>>
>>>>>> On Thu, 28 Oct 2021 at 13:05, Chinmay Dalal <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hello 👋
>>>>>>> I use fish's vi mode, which changes the cursor based on mode.
>>>>>>> However inside tmux the cursor is always block-shaped irrespective of 
>>>>>>> mode.
>>>>>>>
>>>>>>> I tried adding
>>>>>>> set -as terminal-features ",*:cstyle"
>>>>>>> to my tmux.conf, it doesn't help
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "tmux-users" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to [email protected].
>>>>>>> To view this discussion on the web, visit
>>>>>>> https://groups.google.com/d/msgid/tmux-users/237cfcf5-e794-496c-93ff-208a26d2ba7en%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/tmux-users/237cfcf5-e794-496c-93ff-208a26d2ba7en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "tmux-users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>>
>>>> To view this discussion on the web, visit
>>>>> https://groups.google.com/d/msgid/tmux-users/16e32879-79b2-461d-896e-ce00b4d3b207n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/tmux-users/16e32879-79b2-461d-896e-ce00b4d3b207n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "tmux-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>>
>> To view this discussion on the web, visit
>>> https://groups.google.com/d/msgid/tmux-users/ffcb17fb-95c8-4788-af22-312cb9e8ff19n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tmux-users/ffcb17fb-95c8-4788-af22-312cb9e8ff19n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/tmux-users/7eba8eef-230e-47e1-a1af-843a6f556456n%40googlegroups.com
> <https://groups.google.com/d/msgid/tmux-users/7eba8eef-230e-47e1-a1af-843a6f556456n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/CAEdLfcGs5f7KpMNN0%3DC9VaBKdc_R5xGLX_Dm%2BVGMRSGd0QeTtg%40mail.gmail.com.

Reply via email to