Commit graph

33 commits

Author SHA1 Message Date
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
583c82148f Determine some constants based on others 2022-07-19 21:24:11 +02:00
7da5ba04a5 Implement remaining layouting logic 2022-07-19 21:23:47 +02:00
3a814fb960 Remove obsolete functions 2022-07-19 18:09:50 +02:00
47aa99bb26 Port majority of layouting logic 2022-07-19 18:09:30 +02:00
e7cd0568e9 Add constructors for different types of blocks 2022-07-19 17:05:54 +02:00
4f4cae070a Store first and last root in Blocks 2022-07-19 09:51:10 +02:00
21d908874d Adapt blocks to include markers 2022-07-15 11:10:19 +02:00
47d67022f0 Fix chat rendering over room status 2022-07-06 10:12:29 +02:00
9b3ea00d1b Use longer time format 2022-07-05 20:49:07 +02:00
446e3e885a Move chat to ui module 2022-07-05 19:37:29 +02:00