MISC: Add raw command string to autocomplete data (#1846)

This commit is contained in:
catloversg
2024-12-18 18:16:38 +07:00
committed by GitHub
parent cffd6d75a6
commit bb7a1fbb22
4 changed files with 24 additions and 0 deletions

View File

@@ -9671,6 +9671,13 @@ interface AutocompleteData {
filename: string;
/** The processes running on the host */
processes: ProcessInfo[];
/**
* The raw command string that you have typed until you press [Tab] to use the autocomplete feature.
*
* For example, if you type `[Space]run test.js[Space][Space][Space][Press tab to use autocomplete]`, "command" will
* contain all space characters (1 space character before "run" and 3 space characters after ".js").
*/
command: string;
}
/**