smol #realy #NRC #progressreport
https://chat.realy.lol/
did a bunch of mods - popped out the #gio widget/material libraries and tampered with the editor so it does ctrl-del ctrl-backspace to mean "delete to end of line" and "delete to start of line" - also ctrl-left-arrow and ctrl-right-arrow now move the cursor by word (not sure why it wasn't set that way
i can appreciate that at some point this logic should be popped out of the editors so it can be configured by an app, but just fixing some really major key combos i have come to depend on when editing text, as this will be part of the chat text input as well, probably there will be more
anyway, main thing is that those keys work properly now, time to move on to making the actual nav menu contents render properly, again, stealing wholesale from the telegram UI design because i'm a lazy bastard and i like the way telegram's UI works, probably will improve on it later but for now, it's a good model for a decent chat app
oh yeah and i bitched out the gio devs for their totally disrespectful lack of adhering to the concept of stable APIs, i want to say "if you want to break the api, you better be ready to pop a stable version on that branch" but haha keep dreaming, i just need to maintain my widget library's interfacing to the base layout/render pipeline engine for now, it's always fine if it's stable and works everywhere consistently (which it mostly does) they have no excuse for breaking the API anyway, but i'm sure they'll find a reason
but whatever, i can always pin it, so long as it's solid for my purposes i am not going to change the base dependency
that's done :)
and i learned that ctrl-k is not the usual key for this but it's very handy for me, just another point in favor of making this editor control configurable, but that's a lotta work, just gonna stick with some basics here
the standart is usually ctrl-L selects from cursor to end of line, then you press delete or backspace, and on terminals, ctrl-U clears the whole input... i should put that in there as well, damn... but only for single line input
i have had ideas about making an actual terminal at some point in the future, this feature would fit with that, although single line only hmmm yeah, maybe just make it so that only works when the input is enter to send (like a terminal)
Showing page 1 of
1 pages