diff options
| author | Igor Ramazanov <igor.ramazanov@protonmail.com> | 2025-01-18 11:43:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-18 11:43:57 +0000 |
| commit | ce4dc805e375dbd8c0477ad5005c2110f83de2aa (patch) | |
| tree | ac2ca142a2182eb51ed64ffd029fa4111b4d8f48 /test/shell/prompt-shell-script-completion/script | |
| parent | ae9758e95f531d26847cfc7e884da3ceb47670f3 (diff) | |
| parent | 54084900624493033cb24640d864c109cdac40a7 (diff) | |
Merge branch 'mawww:master' into contrib/gendocs.sh
Diffstat (limited to 'test/shell/prompt-shell-script-completion/script')
| -rw-r--r-- | test/shell/prompt-shell-script-completion/script | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/shell/prompt-shell-script-completion/script b/test/shell/prompt-shell-script-completion/script new file mode 100644 index 00000000..768a63bd --- /dev/null +++ b/test/shell/prompt-shell-script-completion/script @@ -0,0 +1,5 @@ +ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [true] }' +ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ ":foo<ret>b" ] }' +ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [false] }' +ui_out -until '{ "jsonrpc": "2.0", "method": "menu_show", "params": [[[{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "foo" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "bar" }], [{ "face": { "fg": "default", "bg": "default", "underline": "default", "attributes": [] }, "contents": "baz" }]], { "line": 0, "column": 0 }, { "fg": "white", "bg": "blue", "underline": "default", "attributes": [] }, { "fg": "blue", "bg": "white", "underline": "default", "attributes": [] }, "prompt"] }' +ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "<tab><ret>" ] }' |
