Lines Matching refs:ui
48 interpreter (for the main UI, this is the interpreter specified
50 interpreter-exec ...), etc. There's always one UI associated with
55 struct ui
57 /* Create a new UI. */
58 ui (FILE *instream, FILE *outstream, FILE *errstream);
59 ~ui ();
61 DISABLE_COPY_AND_ASSIGN (ui);
64 struct ui *next = nullptr;
66 /* Convenient handle (UI number). Unique across all UIs. */
69 /* The UI's command line buffer. This is to used to accumulate
74 on the UI's input file descriptor. This function incrementally
85 /* True if this UI is using the readline library for command
90 /* Each UI has its own independent set of interpreters. */
99 /* True if the UI is in async mode, false if in sync mode. If in
104 the top event loop. For the main UI, this starts out disabled,
113 /* The UI's stdin. Set to stdin for the main UI. */
162 /* Register the UI's input file descriptor in the event loop. */
165 /* Unregister the UI's input file descriptor from the event loop. */
168 /* Return true if this UI's input fd is a tty. */
172 /* The main UI. This is the UI that is bound to stdin/stdout/stderr.
175 extern struct ui *main_ui;
177 /* The current UI. */
178 extern struct ui *current_ui;
181 extern struct ui *ui_list;
201 /* Move to the next UI, setting current_ui if iteration is not yet
213 struct ui *m_iter;
216 scoped_restore_tmpl<struct ui *> m_save_ui;
219 /* Traverse through all UI, and switch the current UI to the one
224 using ui_range = next_range<ui>;