2 * @file x11-type-string.cpp
6 * @details Windowsでは使わない
9 #include "main-unix/x11-type-string.h"
10 #include "term/gameterm.h"
13 * Add a series of keypresses to the "queue".
15 * Return any errors generated by term_key_push() in doing so, or SUCCESS
18 * Catch the "out of space" error before anything is printed.
20 * NB: The keys added here will be interpreted by any macros or keymaps.
22 errr type_string(concptr str, uint len)
25 term_type *old = game_term;
33 term_activate(term_screen);
34 for (concptr s = str; s < str + len; s++) {
39 err = term_key_push(*s);