Debian Codegraph @

memo/D0857/D0857.bashrc1

raw
1 #!/bin/bash
2
3 HISTFILE=A.txt
4 source out/ble.sh --noattach
5
6 function ble/widget/test1 {
7 # これでは直らない
8 ble-edit/bind/stdout.on
9 ble-edit/bind/stdout.off
10 }
11 function ble/widget/test2 {
12 # これを実行すると直る
13 ble-edit/exec:gexec/.begin
14 ble-edit/exec:gexec/.end
15 }
16 function ble/widget/test3 {
17 # 実は term/leave,enter で直る
18 ble/term/leave
19 ble/term/enter
20 }
21 function ble/widget/test4 { # これで直る
22 ble/term/stty/enter
23 ble/term/stty/leave
24 }
25 function ble/widget/test5 { # 何とこれだけで直る…。
26 /usr/bin/stty &>/dev/null
27 }
28
29 ble-bind -f 'C-t' test5
30
31 function ble/widget/check1 {
32 stty -a >> stty.$_ble_bash.$SHLVL.txt
33 }
34
35 ble-bind -f 'C-u' check1
36
37 function ble/bin/stty { :; }
38
39 ((_ble_bash)) && ble-attach