widget_terminal utils::terminal で再実装