Searched refs:half_width (Results 1 – 2 of 2) sorted by relevance
115 int half_width = (TUI_DATA_WIN->generic.width - 2) / 2; in tui_erase_data_content() local118 if (strlen (prompt) >= half_width) in tui_erase_data_content()121 x_pos = half_width - strlen (prompt); in tui_erase_data_content()
222 int half_width = (win_info->generic.width - 2) / 2; in tui_erase_source_content() local236 if (strlen (no_src_str) >= half_width) in tui_erase_source_content()239 x_pos = half_width - strlen (no_src_str); in tui_erase_source_content()