Commit Graph

196 Commits

Author SHA1 Message Date
1b15db0fe9 Fixed issues with frequencies (I think) 2024-12-24 18:54:26 +02:00
f6eb3d665e Scrolling beyond the first message is now impossible even when the
screen is not filled with messages
2024-12-24 18:35:56 +02:00
d3d027f19e Fixed overflow in frequency list 2024-12-24 18:22:30 +02:00
2d4b0df290 Fixed bug where if not at the bottom of the screen but index is -1 then
moving down was impossible
2024-12-24 17:56:26 +02:00
d4ca377a72 Made the message view more stateful by remembering where in the view the
user was
2024-12-24 17:52:01 +02:00
0746f3de04 Selected message resets when focus is lost 2024-12-24 17:41:07 +02:00
534ef0df87 Implemented g to go to the top message and shift+g/enter to go to the
bottom
2024-12-24 17:17:59 +02:00
7cf2bbd1b6 Users can no longer scroll beyond the highest message 2024-12-24 17:10:58 +02:00
6ca8b70e66 Fixed a bug where headers won't render as "selected" when you hover over them 2024-12-24 16:45:52 +02:00
54fb740184 Added ctrl+d/ctrl+u for scrolling up/down in messages view 2024-12-24 16:24:09 +02:00
2618785d10 Changed error when a frequency is empty to a gray message saying it's
empty and suggesting to send a message
2024-12-23 20:32:27 +02:00
f49f48d17b Improved scrolling by adding a blank line between message groups,
but skipping the bottom line when selecting for better UX and selecting
while not in "SnapToBottom" will now start from the bottom of the
screen, not the last message
2024-12-23 20:16:11 +02:00
d87c6090d4 Fixed viminput crash where pressing backspace in insertmode while on the
first char in a non-blank line crashes due to index out of bounds
2024-12-23 18:48:45 +02:00
8e5a560f98 Implemented basic scrolling, needs improvements 2024-12-23 18:43:07 +02:00
2b5b32fc47 Backup 2024-12-23 18:07:41 +02:00
25f6fbc476 Excess messages now truncate instead of overflow viewport height 2024-12-23 16:51:33 +02:00
8d1174a2e1 Implemented per-line selection in messages view 2024-12-23 16:39:33 +02:00
08f21ff857 Reimplemented message rendering by traversing backwards 2024-12-23 15:17:08 +02:00
3072e921d6 Commiting for backup 2024-12-23 15:09:34 +02:00
6837fb4515 Fixed server not compiling 2024-12-22 15:58:32 +02:00
eb6156ff10 Refactored local config and added support for tab in insert mode in
viminput
2024-12-21 19:42:01 +02:00
e6237f5b12 Prevented deletion of frequency if it's the only one in the network 2024-12-21 19:00:37 +02:00
e88c5f242d Implemented fetching existing messages when changing frequencies 2024-12-21 18:29:29 +02:00
3c35c3dbfa Fixed message-remembering issues and implemented non persistent "last
frequency" per network
2024-12-21 18:08:32 +02:00
90c54591cc Implemented remembering messages in frequencies 2024-12-21 16:54:43 +02:00
4db087dbe4 Selected message automatically diselects itself when switching frequency 2024-12-21 16:21:16 +02:00
cee4c74bf5 Implemented selecting a message (and changing the background to show
which message)
2024-12-20 18:38:40 +02:00
1c3d456169 Implemented nice-looking messages 2024-12-20 17:41:19 +02:00
bae7f78b9c Added support for basic display of messages 2024-12-19 19:57:31 +02:00
6d91f3f9af Implemented processing data 2024-12-19 18:42:53 +02:00
ff032e5e07 Implemented client-side message sending 2024-12-19 17:03:18 +02:00
f58c860d55 Added frame around viminput which includes a statusline 2024-12-18 19:49:01 +02:00
692e10d825 Fixed extra newline due to placeholder issues 2024-12-18 18:48:02 +02:00
c2ca65580d Removed line decorations from viminput 2024-12-18 18:21:50 +02:00
438e887d6f Fixed motion counts only going up to 9 in viminput 2024-12-18 18:10:56 +02:00
b50ef57f44 Implemented o motion for visual and visual line in viminput 2024-12-18 17:59:13 +02:00
9e3f12d290 Implemented support for placeholders to prompt the user to send a
message (only if there is exactly 1 blank line)
2024-12-18 17:51:21 +02:00
6b13e0184d Fixed a bug where blank lines in visual or visual line mode won't be
highlighted
2024-12-18 17:45:37 +02:00
86c1b7aa58 Implemented scrolling in viminput 2024-12-18 17:04:27 +02:00
a8d0606e92 Changed i in chat to go into insert mode for better UX 2024-12-17 19:32:27 +02:00
066d55dcaa Added undo/redo to viminput (doesn't exactly match NVIM but it's good
enough)
2024-12-17 19:25:48 +02:00
f394b15846 Added motion count for normal, visual, and visual line mode in viminput 2024-12-17 17:40:44 +02:00
6b05b468a5 Added ctrl+d/ctrl+u which move vertically half the height of viminput 2024-12-16 18:27:46 +02:00
2b0812ae7e Added capability for chat to be "locked" into viminput, which solves the
issue of H/L, they can now be typed normally, pressing "i" to go into
locked mode and "q" (in normal mode) to leave it
2024-12-16 18:19:18 +02:00
91992de3c0 Fixed a bug when forward-pasting in normal mode where it'd have an extra
blank line when pasting on a blank line when the register ends with \n
2024-12-16 18:02:24 +02:00
c990c26906 Implemented pasting for visual and visual line mode in viminput 2024-12-16 17:56:16 +02:00
2ca354c92c Finished implementing pasting in normal mode 2024-12-16 17:08:27 +02:00
b0bb27ca25 Implemented multiline x/d/c in visual mode and fixed a bug in visual
mode where multiline yank caused crashes/was incorrect
2024-12-16 16:46:41 +02:00
0a0492156a Added support for y and single-line x/d/c for visual mode in viminput 2024-12-15 19:25:53 +02:00
5a7a3028e9 Implemented x/d/c/y for visual line mode in viminput 2024-12-15 18:39:55 +02:00