|
|
@ -6,10 +6,10 @@
|
|
|
|
//! The Menu doesn't draw or perform any actions on its own, instead
|
|
|
|
//! The Menu doesn't draw or perform any actions on its own, instead
|
|
|
|
//! it returns an Action to the UI representing its intent.
|
|
|
|
//! it returns an Action to the UI representing its intent.
|
|
|
|
|
|
|
|
|
|
|
|
use crate::ui::{self, Action, Key, View, MAX_COLS, SCROLL_LINES};
|
|
|
|
|
|
|
|
use crate::{
|
|
|
|
use crate::{
|
|
|
|
config::Config,
|
|
|
|
config::Config,
|
|
|
|
gopher::{self, Type},
|
|
|
|
gopher::{self, Type},
|
|
|
|
|
|
|
|
ui::{self, Action, Key, View, MAX_COLS, SCROLL_LINES},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
use std::fmt;
|
|
|
|
use std::fmt;
|
|
|
|
use termion::{clear, cursor};
|
|
|
|
use termion::{clear, cursor};
|
|
|
|