about summary refs log tree commit diff stats
                               ━━━━━━━━━
                                  LYRA

                                Andinus
                               ━━━━━━━━━


Lyra is a simple cli program to manage fortune files. It can read
directly from plain-text files, creating datafiles through `strfile' is
not required.

This also means that it has less features compared to fortune(6).
Default directory is assumed to be `$HOME/fortunes'.

This program is not useful if you have `strfile' installed, just use it
& place the datafiles in fortune directory.
282c4ee4b3af36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
file load:
  cursor_line = 1
  first line is a drawing -> cursor_line = 2
click on text -> cursor moves
click on first character of text -> cursor on first character of text
click to right of text -> cursor past end of line
click to right of wrapped text -> cursor on final character of line
click on drawing -> cursor doesn't move
create drawing -> cursor bumps down below drawing
backspace
  cursor_pos == 0, previous line is a drawing -> delete drawing, cursor still visible at start of line
  cursor_pos == 0, previous line is text -> join lines, cursor still at same character

enter
  cursor_pos == 0 -> insert empty line above current line