JRF
7e086258b6
Add key bindings to move to parent/root message
2022-08-29 00:38:31 +02:00
c9eee7f1d0
Clean up cursor movement code a bit
2022-08-27 12:10:23 +02:00
8419afd2e1
Remove old comment
2022-08-25 22:08:47 +02:00
5acb4c6396
Center cursor on screen
2022-08-09 15:51:47 +02:00
a4b79d4e81
Move cursor to prev/next sibling
2022-08-09 15:44:35 +02:00
c41ab742d3
Fix message count in folded info
2022-08-09 15:12:49 +02:00
87a14eedf2
Move cursor over folded subtrees
2022-08-09 15:07:37 +02:00
0ad3432141
Fold subtrees
2022-08-09 15:00:12 +02:00
bfc221106d
Move to prev/next unseen message
2022-08-08 21:31:12 +02:00
43247e2a5c
Mark all visible messages as seen
2022-08-08 21:31:12 +02:00
de569211f6
Display seen status of messages
2022-08-08 21:31:12 +02:00
20ea96f83e
Match key events using macros
2022-08-04 01:05:08 +02:00
2dfdbbb4d2
Fix scrolling when composing a new thread
...
When composing a new thread and writing more than one line, the chat
wouldn't scroll to make the editor cursor visible again. My original
guess for when the scrolling code should run was a bit too restrictive.
2022-08-03 03:08:00 +02:00
4d1a42427a
Add scrolloff
2022-08-03 02:52:53 +02:00
042f0ab78d
Move cursor chronologically
2022-08-03 02:02:12 +02:00
01ee4b4ce8
Use new highlight colors for editor and pseudo messages
2022-08-03 01:12:31 +02:00
3ab73668ba
Fix editor cursor not being made visible
2022-08-02 22:09:41 +02:00
baa49107f1
Remove unused files
2022-08-02 01:42:10 +02:00
18573e5a37
Fix rendering of editor and pseudo message
2022-08-02 01:22:34 +02:00
26d953395b
Edit messages in the tree view
2022-08-02 01:08:02 +02:00
415da3afd8
Render editor and pseudo message
2022-08-01 23:38:46 +02:00
4ead592e59
Add back vertical line for multi-line messages
2022-08-01 23:00:01 +02:00
781655c41b
Fix initial scroll at bottom not moving screen
...
When pressing ctrl+y while cursor = Cursor::Bottom, the screen would
not scroll. Instead, the cursor would only jump to the lowest message on
the screen. This was caused because the blocks were re-layouted after
scrolling, starting from the Cursor::Bottom, thus resetting the scroll
to the bottom of the screen.
2022-08-01 22:53:30 +02:00
816bf5be1c
Fix cursor appearing on rerender when at bottom
...
When sitting at the bottom of a room with cursor = Cursor::Bottom, a
rerender would make the cursor jump to the lowest visible message. This
of course should only happen when the screen is scrolled, not on almost
every rerender.
2022-08-01 22:51:43 +02:00
4ac0b5f074
Make new ChatMsg trait for Chat message rendering
2022-08-01 19:57:05 +02:00
a50f81f9b3
Add priorities to VJoin/HJoin Segments
2022-08-01 17:11:13 +02:00
2c3586df7c
Add todo
2022-08-01 01:18:28 +02:00
c11325aa8b
Move cursor so it is visible when scrolling
2022-08-01 01:18:28 +02:00
76bcd853cf
Scroll so cursor is visible when moving it
2022-08-01 01:17:41 +02:00
191d79f14c
Fix some warnings
2022-08-01 00:12:31 +02:00
a06fc51410
Fix placeholder style
2022-08-01 00:10:14 +02:00
cb2fc22c5a
Scroll with ctrl+e and ctrl+d
2022-07-31 23:10:49 +02:00
d23d7b155c
Reorganize widgets and render indent
2022-07-31 22:55:22 +02:00
327a524c86
Fix expanding blocks to bottom of screen
2022-07-31 20:45:37 +02:00
5d3e0ef73c
Reenable cursor movement
...
This also moves the Cursor definition back to the cursor module, and
modifies it to include info about the last non-editor/non-pseudo
position in editor/pseudo cursors (to be used when editing or waiting
for the server reply is aborted via Escape)
2022-07-31 20:33:46 +02:00
ae8ec70e5e
Layout using new algorithm and new blocks
2022-07-31 20:03:14 +02:00
6f4d94afa5
Render time via widget
2022-07-31 19:21:54 +02:00
282609916a
Rename some methods for consistency
2022-07-24 17:45:29 +02:00
8bc7af0d3f
Replace chrono dependency by time
2022-07-24 17:27:58 +02:00
613c57c1aa
Fix screen scrolling when cursor is at bottom
2022-07-20 23:55:02 +02:00
78906ffd96
Placate some warnings
2022-07-20 20:49:02 +02:00
2b90815f65
Fix cursor movement not scrolling the messages
2022-07-20 20:47:28 +02:00
066ea0cb07
Port message sending
2022-07-20 20:37:54 +02:00
34e7af684b
Hook up simple cursor movement
2022-07-20 17:34:32 +02:00
48943f2316
Port most of cursor movement logic
2022-07-20 14:07:02 +02:00
4cf0d861db
Clean up
2022-07-20 08:43:00 +02:00
a97c838474
Fix messages scrolling up on re-render
2022-07-19 23:31:12 +02:00
26b07d6c57
Fix indent rendering
...
I forgot that I used a box drawing character and not a '|' character to
render the indent.
2022-07-19 21:52:07 +02:00
e707525240
Fix bottom thread repeating indefinitely
2022-07-19 21:50:53 +02:00
3af1193869
Port rendering logic
2022-07-19 21:47:40 +02:00