Searched refs:terminal_wid (Results 1 – 6 of 6) sorted by relevance
45 sh->ctx->vt100_ctx.cons.terminal_wid - terminal_offset) { in formatted_text_print()67 length = sh->ctx->vt100_ctx.cons.terminal_wid in formatted_text_print()80 sh->ctx->vt100_ctx.cons.terminal_wid) { in formatted_text_print()
59 return ((buffer_pos + cons->name_len) / cons->terminal_wid); in line_num_with_buffer_offset_get()67 return (1 + ((buffer_pos + cons->name_len) % cons->terminal_wid)); in col_num_with_buffer_offset_get()92 cons->cur_x = (buff_pos + cons->name_len) % cons->terminal_wid + 1; in z_shell_multiline_data_calc()93 cons->cur_y = (buff_pos + cons->name_len) / cons->terminal_wid + 1; in z_shell_multiline_data_calc()96 cons->cur_y_end = (buff_len + cons->name_len) / cons->terminal_wid + 1; in z_shell_multiline_data_calc()97 cons->cur_x_end = (buff_len + cons->name_len) % cons->terminal_wid + 1; in z_shell_multiline_data_calc()
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()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()
193 sh->ctx->vt100_ctx.cons.terminal_wid = x; in terminal_size_get()408 sh->ctx->vt100_ctx.cons.terminal_wid = CONFIG_SHELL_DEFAULT_TERMINAL_WIDTH; in cmd_resize_default()426 sh->ctx->vt100_ctx.cons.terminal_wid = in cmd_resize()
142 columns = (sh->ctx->vt100_ctx.cons.terminal_wid in tab_item_print()1234 sh->ctx->vt100_ctx.cons.terminal_wid = in instance_init()
40 uint16_t terminal_wid; /*!< terminal screen width.*/ member