fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerSoft-wrapped autosuggestion to hide right prompt for now0a23a7852

master
533 B22 linesraw
1#RUN: %fish %s
2#REQUIRES: command -v tmux
3
4isolated-tmux-start -C '
5    function fish_right_prompt
6        echo RP
7    end
8    history append "echo $(string repeat 100 a)"
9'
10isolated-tmux send-keys Enter e
11tmux-sleep
12isolated-tmux capture-pane -p
13# CHECK: prompt 0> {{ *}} RP
14# CHECK: prompt 0> echo {{(a{65,})}}
15# CHECK: {{(a{35,})}}
16
17isolated-tmux send-keys C-h C-l "echo line1" M-Enter "e"
18tmux-sleep
19isolated-tmux capture-pane -p
20# CHECK: prompt 0> echo line1 {{ *}} RP
21# CHECK:           echo {{(a{65,})}}
22# CHECK: {{(a{35,})}}