summaryrefslogtreecommitdiff
path: root/x.o%2525252525252525252525252525252525252525252525252525252525252525252525252...
diff options
context:
space:
mode:
authorAdam Price <komidore64@gmail.com>2023-02-07 19:54:29 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2023-02-07 19:57:34 +0100
commitf17abd25b376c292f783062ecf821453eaa9cc4c (patch)
tree8a501a78f8091bd26d956596fb37557139857a02 /x.o%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fshowmsg%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fshowmsg%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%2525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%2525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104&id2%2525252525252525252525252525252525252525252525252525252525252525253d211964d56ee00a7d46e251cbc150afb79138ae37%25252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104&id2%25252525252525252525252525252525252525252525252525252525252525253d211964d56ee00a7d46e251cbc150afb79138ae37%2525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525253d06c9a45217f48666bace7ea2040034b09e9aac54%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%2525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525253dd9e6811d41e0ff5741e2f719c356af760b931f7b%25252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525253d6bc9bf97bcc0b53d84d0e73c1dfb74c644f5d7bd%252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525253d8ca98e929725c8c8577789be80536adb24d5569f%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253d00085199039ee63acc7b1ecb7e3774a9c3552b2a%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253d00085199039ee63acc7b1ecb7e3774a9c3552b2a%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d00085199039ee63acc7b1ecb7e3774a9c3552b2a%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d72fd32736a612edec43596c14148322122a5544d%25252525252525252525252525252525253fid%25252525252525252525252525252525253dbaa9357e96d2478baa52a3301e70ac80a229b726%252525252525252525252525252525253fid%252525252525252525252525252525253dbaa9357e96d2478baa52a3301e70ac80a229b726%2525252525252525252525252525253fid%2525252525252525252525252525253d8629d9a1da72cc18568a8f146307b0e939b77ebf%252525252525252525252525253fshowmsg%252525252525252525252525253d1%252525252525252525253fid2%252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525253fid%252525252525253d06c9a45217f48666bace7ea2040034b09e9aac54%2525252525253fid%2525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525253fid%25252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%252525253fid%252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104&id2%252525253dd9e6811d41e0ff5741e2f719c356af760b931f7b%2525253fid%2525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%25253fid%25253da8fbe5f5021f1951a6342663e5bb4e845dd08104%253fid%253da8fbe5f5021f1951a6342663e5bb4e845dd08104%3fid%3d211964d56ee00a7d46e251cbc150afb79138ae37?id=f17abd25b376c292f783062ecf821453eaa9cc4c
parent7e8050cc621f27002eaf1be8114dee2497beff91 (diff)
Add support for DSR response "OK" escape sequence
"VT100 defines an escape sequence [1] called Device Status Report (DSR). When the DSR sequence received is `csi 5n`, an "OK" response `csi 0n` is returned. This patch adds that "OK" response. I encountered this missing sequence when I noticed that fzf [2] would clobber my prompt whenever completing a find. To test that ST doesn't currently respond to `csi 5n`, use fzf's shell extension in ST's repo to complete the path for a file. my-fancy-prompt $ vim **<tab> <select a file> st.c Select a file with <enter>, and notice that fzf clobbers some or all of your prompt. After applying this patch, do the same test as above and notice that fzf has no longer clobbered your prompt by placing the file name in the correct position in your command. my-fancy-prompt $ vim **<tab> <select a file> my-fancy prompt $ vim st.c Thank you for considering my first patch submission. [1] https://www.xfree86.org/current/ctlseqs.html#VT100%20Mode [2] https://github.com/junegunn/fzf " Patch slightly adapted with input from the mailinglist,
Diffstat (limited to 'x.o%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fshowmsg%25252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253fshowmsg%252525252525252525252525252525252525252525252525252525252525252525252525252525252525253d1%2525252525252525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525252525252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%2525252525252525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104&id2%2525252525252525252525252525252525252525252525252525252525252525253d211964d56ee00a7d46e251cbc150afb79138ae37%25252525252525252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104&id2%25252525252525252525252525252525252525252525252525252525252525253d211964d56ee00a7d46e251cbc150afb79138ae37%2525252525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525252525253d06c9a45217f48666bace7ea2040034b09e9aac54%25252525252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%2525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525253dd9e6811d41e0ff5741e2f719c356af760b931f7b%25252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525253d6bc9bf97bcc0b53d84d0e73c1dfb74c644f5d7bd%252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525253d8ca98e929725c8c8577789be80536adb24d5569f%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253d00085199039ee63acc7b1ecb7e3774a9c3552b2a%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253d00085199039ee63acc7b1ecb7e3774a9c3552b2a%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d00085199039ee63acc7b1ecb7e3774a9c3552b2a%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253d72fd32736a612edec43596c14148322122a5544d%25252525252525252525252525252525253fid%25252525252525252525252525252525253dbaa9357e96d2478baa52a3301e70ac80a229b726%252525252525252525252525252525253fid%252525252525252525252525252525253dbaa9357e96d2478baa52a3301e70ac80a229b726%2525252525252525252525252525253fid%2525252525252525252525252525253d8629d9a1da72cc18568a8f146307b0e939b77ebf%252525252525252525252525253fshowmsg%252525252525252525252525253d1%252525252525252525253fid2%252525252525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%252525252525253fid%252525252525253d06c9a45217f48666bace7ea2040034b09e9aac54%2525252525253fid%2525252525253d83168f5447ed5465b06673052aa8c6c8e3c40e38%25252525253fid%25252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%252525253fid%252525253da8fbe5f5021f1951a6342663e5bb4e845dd08104&id2%252525253dd9e6811d41e0ff5741e2f719c356af760b931f7b%2525253fid%2525253da8fbe5f5021f1951a6342663e5bb4e845dd08104%25253fid%25253da8fbe5f5021f1951a6342663e5bb4e845dd08104%253fid%253da8fbe5f5021f1951a6342663e5bb4e845dd08104%3fid%3d211964d56ee00a7d46e251cbc150afb79138ae37?id=f17abd25b376c292f783062ecf821453eaa9cc4c')
0 files changed, 0 insertions, 0 deletions