• Home
  • Raw
  • Download

Lines Matching refs:vt

7 void vterm_keyboard_unichar(VTerm *vt, uint32_t c, VTermModifier mod)  in vterm_keyboard_unichar()  argument
19 vterm_push_output_bytes(vt, str, seqlen); in vterm_keyboard_unichar()
44 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "%d;%du", c, mod+1); in vterm_keyboard_unichar()
51 vterm_push_output_sprintf(vt, "%s%c", mod & VTERM_MOD_ALT ? ESC_S : "", c); in vterm_keyboard_unichar()
128 void vterm_keyboard_key(VTerm *vt, VTermKey key, VTermModifier mod) in vterm_keyboard_key() argument
157 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "Z"); in vterm_keyboard_key()
159 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "1;%dZ", mod+1); in vterm_keyboard_key()
166 if(vt->state->mode.newline) in vterm_keyboard_key()
167 vterm_push_output_sprintf(vt, "\r\n"); in vterm_keyboard_key()
174 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "%d;%du", k.literal, mod+1); in vterm_keyboard_key()
176 vterm_push_output_sprintf(vt, mod & VTERM_MOD_ALT ? ESC_S "%c" : "%c", k.literal); in vterm_keyboard_key()
181 vterm_push_output_sprintf_ctrl(vt, C1_SS3, "%c", k.literal); in vterm_keyboard_key()
188 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "%c", k.literal); in vterm_keyboard_key()
190 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "1;%d%c", mod + 1, k.literal); in vterm_keyboard_key()
195 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "%d%c", k.csinum, k.literal); in vterm_keyboard_key()
197 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "%d;%d%c", k.csinum, mod + 1, k.literal); in vterm_keyboard_key()
201 if(vt->state->mode.cursor) in vterm_keyboard_key()
207 if(vt->state->mode.keypad) { in vterm_keyboard_key()
216 void vterm_keyboard_start_paste(VTerm *vt) in vterm_keyboard_start_paste() argument
218 if(vt->state->mode.bracketpaste) in vterm_keyboard_start_paste()
219 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "200~"); in vterm_keyboard_start_paste()
222 void vterm_keyboard_end_paste(VTerm *vt) in vterm_keyboard_end_paste() argument
224 if(vt->state->mode.bracketpaste) in vterm_keyboard_end_paste()
225 vterm_push_output_sprintf_ctrl(vt, C1_CSI, "201~"); in vterm_keyboard_end_paste()