Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InitialCapture func(event *tcell.EventKey) *tcell.EventKey
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
Book *epub.Epub
Config *config.Config
FilePath string
UI *ui.UI
JumpList map[rune][4]interface{} // [index, width, pos, pctg]
CurrentChapter int // Current chapter index
// Cache fields
TempDir string // Temporary directory for image files
}
Reader represents the EPUB reader
func (*Reader) ResetCapture ¶
func (r *Reader) ResetCapture()
func (*Reader) SetCapture ¶
func (r *Reader) SetCapture(f func(event *tcell.EventKey) *tcell.EventKey)
Click to show internal directories.
Click to hide internal directories.