Commit Graph

13 Commits

Author SHA1 Message Date
Kartik K. Agaram
3f6861b4db gemini: demo of context-sensitive menu
Basic procedure:
  - save/restore `menu` around call of a function (directly or
    indirectly called by `update`) that encapsulates some state change
  - override `menu` inside the function to correspond to its update loop
2022-01-18 20:11:56 -08:00
Kartik K. Agaram
0de63dd710 gemini.tlv: stop using default background 2021-12-25 22:07:34 -08:00
Kartik K. Agaram
e9d72de48b gemini: better error-handling 2021-12-25 22:03:19 -08:00
Kartik K. Agaram
434d36f81f a little more reorg
Put stuff people messing with Teliva apps are likely to need above the C
interface.

The state of documentation for Teliva app creators is still quite poor.
All they really have to go on is the example apps.
2021-12-25 13:44:07 -08:00
Kartik K. Agaram
343316dcfa more precise control over menu order
I can't believe I didn't notice this until now.
2021-12-22 00:27:50 -08:00
Kartik K. Agaram
c537e7bc2d gemini: back button 2021-12-22 00:07:16 -08:00
Kartik K. Agaram
e20f464484 . 2021-12-22 00:06:26 -08:00
Kartik K. Agaram
a5ce055762 . 2021-12-22 00:05:08 -08:00
Kartik K. Agaram
a9e400bbb4 gemini: links 2021-12-21 23:38:04 -08:00
Kartik K. Agaram
f689fb7bed gemini: slightly cleaner rendering of owner input
This still only works if I remove the call to `refresh()` inside
`Wgetch()`. With that call no keystrokes are displayed. Looks like
ncurses doesn't include user input when refreshing the window. Unclear
if there's an easy way to support that while keeping the menu visible.
2021-12-21 16:15:40 -08:00
Kartik K. Agaram
53f235fd26 minor tweaks 2021-12-21 15:06:43 -08:00
Kartik K. Agaram
7eaca58762 gemini: ctrl-g to open a new page 2021-12-21 14:12:17 -08:00
Kartik K. Agaram
5c46538d2d start of a gemini browser 2021-12-20 12:19:05 -08:00