Kartik K. Agaram
6e05a8fa27
fix bad terminology: grapheme -> code point
...
Unix text-mode terminals transparently support utf-8 these days, and so
I treat utf-8 sequences (which I call graphemes in Mu) as fundamental.
I then blindly carried over this state of affairs to bare-metal Mu,
where it makes no sense. If you don't have a terminal handling
font-rendering for you, fonts are most often indexed by code points and
not utf-8 sequences.
2021-08-29 22:20:09 -07:00
Kartik K. Agaram
412a68d0c1
minimize repaints when navigating between channels
2021-08-15 04:24:36 -07:00
Kartik K. Agaram
7282b475ae
.
2021-08-15 04:22:57 -07:00
Kartik K. Agaram
31ef51d92a
correct menu when first entering search mode
...
Test required.
2021-08-15 04:22:57 -07:00
Kartik K. Agaram
553d2ffc8e
.
...
Make it more obvious that we always do a full repaint if dirty is set.
2021-08-15 04:22:57 -07:00
Kartik K. Agaram
8086b7b603
keep cursor stable when switching to thread view
...
Test required.
2021-08-15 04:02:42 -07:00
Kartik K. Agaram
6684112972
missing code: selecting a thread in channel view
...
Test required. And a clean fixture.
2021-08-15 04:02:23 -07:00
Kartik K. Agaram
ef3881ab5a
slack: navigation for thread screens
2021-08-14 18:29:15 -07:00
Kartik K. Agaram
bfe3a175be
slack: quick 'n' dirty thread screen
2021-08-14 18:02:57 -07:00
Kartik K. Agaram
a3ffd93c57
slack: data structures for single-thread view
2021-08-14 17:49:36 -07:00
Kartik K. Agaram
444da164b0
slack: ensure single cursor on screen at any time
...
This is worth a first test.
2021-08-14 17:20:52 -07:00
Kartik K. Agaram
6c46da31fb
slack: delete intra-item cursor state
...
I don't actually have per-user feeds yet. Just drop the feature for now.
2021-08-14 16:53:14 -07:00
Kartik K. Agaram
48afc51faf
slack: menu options for browsing intra-item
2021-08-14 16:29:25 -07:00
Kartik K. Agaram
29b268c359
slack: hacky intra-item cursor
...
Pretty klunky that it's always on the topmost item. But it gets us
going.
2021-08-14 16:18:44 -07:00
Kartik K. Agaram
e531be4d0b
slack: introduce state for intra-item cursor
2021-08-14 16:09:54 -07:00
Kartik K. Agaram
576bad403c
slack: start rendering cursor on main pane
2021-08-14 15:49:40 -07:00
Kartik K. Agaram
e6f893811e
.
2021-08-14 15:43:44 -07:00
Kartik K. Agaram
55cac9e7a9
slack: start building a cursor for the main pane
...
First step: switch to arrow keys for navigating by item.
2021-08-14 15:39:14 -07:00
Kartik K. Agaram
6706c69407
.
2021-08-14 15:32:04 -07:00
Kartik K. Agaram
aaf9984039
bug: allow '/' in search
2021-08-14 08:18:30 -07:00
Kartik K. Agaram
fc7eb937f3
bug in reusing tabs
2021-08-14 08:16:17 -07:00
Kartik K. Agaram
3b1017dae5
.
...
Bug in channel view.
2021-08-13 23:06:46 -07:00
Kartik K. Agaram
82a223f58f
slack: search cursor handling
2021-08-13 22:53:52 -07:00
Kartik K. Agaram
41b4966961
slack: notify when too many results
2021-08-13 22:53:52 -07:00
Kartik K. Agaram
a3559ebcc3
slack: degrade gracefully when too many results
2021-08-13 22:42:47 -07:00
Kartik K. Agaram
c02d45e8d4
slack: escaping from search dialog
2021-08-13 22:11:31 -07:00
Kartik K. Agaram
29361ac54e
slack: more responsive typing
2021-08-13 22:11:11 -07:00
Kartik K. Agaram
daedeb44fd
slack: scrolling in search screens
2021-08-13 21:38:44 -07:00
Kartik K. Agaram
75927f3034
.
2021-08-13 21:22:50 -07:00
Kartik K. Agaram
4bf781e86d
slack: search
2021-08-13 21:22:25 -07:00
Kartik K. Agaram
3aea1483c9
.
2021-08-13 21:10:59 -07:00
Kartik K. Agaram
7465f6867b
this might explain the bug
...
I think I was just typing with the the status bar outside the display
when it seemed to work. Easy to forget to hit '/' at the start.
Particularly if it seems to work fine.
2021-08-13 20:57:27 -07:00
Kartik K. Agaram
8773d07278
.
2021-08-13 18:44:14 -07:00
Kartik K. Agaram
f7087904c0
start saving and restoring search terms with tabs
2021-08-13 18:22:14 -07:00
Kartik K. Agaram
baf6c7545f
disquieting bug: typing search terms is unreliable
2021-08-13 18:00:59 -07:00
Kartik K. Agaram
d5f9329b65
slack: UI flow for search
...
Everything works, I think, _except_ actually performing the search.
2021-08-13 17:48:38 -07:00
Kartik K. Agaram
234039e34d
.
2021-08-13 17:14:36 -07:00
Kartik K. Agaram
d626043a2d
.
2021-08-13 16:58:01 -07:00
Kartik K. Agaram
028b7aa783
slack: esc to go back to previous screen
2021-08-13 16:54:58 -07:00
Kartik K. Agaram
1f8341fdd6
slack: use tab to bounce between channels
2021-08-13 16:44:08 -07:00
Kartik K. Agaram
1da16ed6c3
slack: page-up on channel screen
2021-08-13 15:43:35 -07:00
Kartik K. Agaram
ae01fd8c70
slack: page-down on channel screen
2021-08-13 15:24:30 -07:00
Kartik K. Agaram
cd6a049f62
slack: restructure page-down handler
2021-08-13 14:38:38 -07:00
Kartik K. Agaram
8c332c3a15
slack: channel screen: previous post
2021-08-13 14:29:27 -07:00
Kartik K. Agaram
32993b205b
.
2021-08-13 14:20:58 -07:00
Kartik K. Agaram
10efa3bf1d
.
2021-08-13 14:20:00 -07:00
Kartik K. Agaram
a67cf4b248
.
2021-08-13 14:19:01 -07:00
Kartik K. Agaram
f810852ed2
slack: new view: top-level posts from a channel
...
- No way yet in the UI to switch views
- Pagination doesn't work yet; it's going to require more duplication :/
2021-08-13 13:40:33 -07:00
Kartik K. Agaram
a83095b209
.
2021-08-13 10:00:44 -07:00
Kartik K. Agaram
bb99077318
.
2021-08-13 09:55:23 -07:00