Lines Matching refs:cons

52 	return (line_length % sh->ctx->vt100_ctx.cons.terminal_wid == 0U);  in full_line_cmd()
60 sh->ctx->vt100_ctx.cons.terminal_wid == in z_shell_cursor_in_empty_line()
73 struct shell_multiline_cons *cons = &sh->ctx->vt100_ctx.cons; in z_shell_op_cursor_position_synchronize() local
76 z_shell_multiline_data_calc(cons, sh->ctx->cmd_buff_pos, in z_shell_op_cursor_position_synchronize()
78 last_line = (cons->cur_y == cons->cur_y_end); in z_shell_op_cursor_position_synchronize()
88 z_shell_op_cursor_horiz_move(sh, cons->cur_x - in z_shell_op_cursor_position_synchronize()
89 cons->cur_x_end); in z_shell_op_cursor_position_synchronize()
91 z_shell_op_cursor_vert_move(sh, cons->cur_y_end - cons->cur_y); in z_shell_op_cursor_position_synchronize()
92 z_shell_op_cursor_horiz_move(sh, cons->cur_x - in z_shell_op_cursor_position_synchronize()
93 cons->cur_x_end); in z_shell_op_cursor_position_synchronize()
99 struct shell_multiline_cons *cons = &sh->ctx->vt100_ctx.cons; in z_shell_op_cursor_move() local
104 z_shell_multiline_data_calc(cons, sh->ctx->cmd_buff_pos, in z_shell_op_cursor_move()
109 &sh->ctx->vt100_ctx.cons, in z_shell_op_cursor_move()
113 &sh->ctx->vt100_ctx.cons, in z_shell_op_cursor_move()
358 z_shell_multiline_data_calc(&sh->ctx->vt100_ctx.cons, in z_shell_cmd_line_erase()
362 -(sh->ctx->vt100_ctx.cons.cur_x - 1)); in z_shell_cmd_line_erase()
363 z_shell_op_cursor_vert_move(sh, sh->ctx->vt100_ctx.cons.cur_y - 1); in z_shell_cmd_line_erase()
378 int adjust = sh->ctx->vt100_ctx.cons.name_len; in z_shell_print_cmd()
381 while (cmd_width > sh->ctx->vt100_ctx.cons.terminal_wid - adjust) { in z_shell_print_cmd()
382 end_offset += sh->ctx->vt100_ctx.cons.terminal_wid - adjust; in z_shell_print_cmd()
390 cmd_width -= (sh->ctx->vt100_ctx.cons.terminal_wid - adjust); in z_shell_print_cmd()