diff --git a/frontend/src/components/content_value/ContentCli.vue b/frontend/src/components/content_value/ContentCli.vue index 36976b7..620d5e6 100644 --- a/frontend/src/components/content_value/ContentCli.vue +++ b/frontend/src/components/content_value/ContentCli.vue @@ -253,6 +253,15 @@ const onTermKey = (e) => { } // block all ctrl key combinations input return false + } else { + switch (e.key) { + case 'Home': // move to head of line + moveInputCursorTo(0) + return false + case 'End': // move to tail of line + moveInputCursorTo(Number.MAX_SAFE_INTEGER) + return false + } } } return true