cfcc663169
Remove pseudo message after server replied
2022-08-02 21:43:35 +02:00
402b79eb31
Scroll larger amounts via ctrl+u/d/b/f
2022-08-02 02:28:36 +02:00
00bcdddc62
Enable some warnings
2022-08-02 02:17:37 +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
fe0f6c7520
Edit editor contents externally
2022-08-02 00:42:52 +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
ac2602c4b8
Rename second euph Message to SmallMessage
2022-08-01 20:05:50 +02:00
4ac0b5f074
Make new ChatMsg trait for Chat message rendering
2022-08-01 19:57:05 +02:00
5c9c6e9d98
Fix word wrapping inside VJoins
2022-08-01 19:13:54 +02:00
2d1c953250
Update toss
2022-08-01 19:13:06 +02:00
a50f81f9b3
Add priorities to VJoin/HJoin Segments
2022-08-01 17:11:13 +02:00
f3b804347d
Make room list behave more like chat
...
Accomplished by adding the same cursor movement and scrolling key
bindings, as well as moving the cursor so it is visible when scrolling.
2022-08-01 01:42:58 +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
82fce0430d
Disable old chat rendering
2022-07-31 15:18:00 +02:00
422641ddf0
Add focus range to Block
2022-07-28 12:57:01 +02:00
e93c29b839
Prompt editor for cursor row
2022-07-28 11:46:10 +02:00
aa25def749
Add new more general widget-based Blocks
2022-07-27 10:20:18 +02:00
c6b0193849
Fix background leaking through popups
2022-07-24 22:24:07 +02:00
db19dbe818
Show user permissions after nick, not before
2022-07-24 22:14:13 +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
099cb8d4f7
Fix cursor placement in nick dialog
2022-07-23 23:45:42 +02:00
73cb568702
Fix not being able to close nick dialog
2022-07-23 23:45:01 +02:00
77c5b479aa
Add 'choose nick' dialog
2022-07-23 23:00:09 +02:00
7818855cb6
Restrict room connection dialog characters
2022-07-23 22:59:45 +02:00
8a8c50028f
Add padding to room connection dialog
2022-07-23 22:34:40 +02:00
ade3120134
Add helper functions for padding
2022-07-23 22:34:18 +02:00
a5757d4660
Fix editor cursor positioning
2022-07-23 22:25:14 +02:00
1e4bbc6eab
Fix infinite loop in H/VJoins without expanding sections
2022-07-23 22:10:08 +02:00
f1899ab295
Add inline editor for connecting to new rooms
2022-07-23 22:09:05 +02:00
709ab07442
Make List widget naming more consistent
2022-07-23 19:50:49 +02:00
5f28ff0ffd
Make editor a widget
2022-07-23 19:49:58 +02:00
f1b7ef0b98
Keep room UI state when disconnecting
2022-07-21 17:32:49 +02:00
38f8c0ed66
Add Float widget
2022-07-21 17:20:35 +02:00
805d1a5e63
Ignore unused code warnings in widgets module
2022-07-21 15:50:21 +02:00