Home
last modified time | relevance | path

Searched refs:term_width (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Drepl.js138 var term_width; variable
147 term_width = 80;
152 term_width = tab[0];
266 if (term_cursor_x == (term_width - 1)) {
271 l = Math.min(term_width - 1 - term_cursor_x, delta);
282 print_csi(term_width - 1, "C"); /* right */
284 term_cursor_x = term_width - 1;
315 term_cursor_x = (term_cursor_x + ucs_length(cmd)) % term_width;
713 n_cols = Math.max(1, Math.floor((term_width + 1) / max_width));
799 term_cursor_x = ucs_length(prompt) % term_width;
/AliOS-Things-master/components/amp/jslib/src/
A Drepl.js139 var term_width; variable
150 term_width = 80;
272 if (term_cursor_x == (term_width - 1)) {
277 l = Math.min(term_width - 1 - term_cursor_x, delta);
288 print_csi(term_width - 1, "C"); /* right */
290 term_cursor_x = term_width - 1;
321 term_cursor_x = (term_cursor_x + ucs_length(cmd)) % term_width;
721 n_cols = Math.max(1, Math.floor((term_width + 1) / max_width));
807 term_cursor_x = ucs_length(prompt) % term_width;
/AliOS-Things-master/components/ble_host/script/Kconfiglib-10.21.0/
A Dmenuconfig.py1233 term_width = _stdscr.getmaxyx()[1]
1249 0, max((term_width - len(_kconf.mainmenu_text))//2, 0),
1301 _safe_addstr(_bot_sep_win, 0, term_width - len(s) - 2, s)
1350 if len(menu_path_str) > term_width:
1351 menu_path_str = menu_path_str[len(menu_path_str) - term_width:]
/AliOS-Things-master/components/ble_mesh/script/Kconfiglib-10.21.0/
A Dmenuconfig.py1233 term_width = _stdscr.getmaxyx()[1]
1249 0, max((term_width - len(_kconf.mainmenu_text))//2, 0),
1301 _safe_addstr(_bot_sep_win, 0, term_width - len(s) - 2, s)
1350 if len(menu_path_str) > term_width:
1351 menu_path_str = menu_path_str[len(menu_path_str) - term_width:]

Completed in 14 milliseconds