MCPcopy Create free account
hub / github.com/VSCodeConfigHelper/v4 / getch

Function getch

src-tauri/src/utils/winapi.rs:149–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147}
148
149pub fn getch() {
150 unsafe {
151 _getch();
152 }
153}
154
155pub fn ansi_buffer_to_string(buf: &Vec<u8>) -> Result<String> {
156 let size = unsafe { MultiByteToWideChar(CP_ACP, MULTI_BYTE_TO_WIDE_CHAR_FLAGS(0), buf, None) };

Callers 2

runFunction · 0.85
cli_handledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected