diff options
| -rw-r--r-- | TODO | 9 | ||||
| -rw-r--r-- | src/edbox.c | 5 |
2 files changed, 8 insertions, 6 deletions
@@ -20,6 +20,10 @@ Other stuff: - [*] Start+A should *always* switch windows, even if all are inactive. It can act like Start+Left in that case. - [*] Auto-pinging the server seems to work, but needs more testing. +- If you "/m #channel message" or "/m nick message" from another + screen besides the one for #channel or nick, the message should be + printed locally in the correct screen, not the current one. Maybe + or maybe not: switch to that screen. - Load/save config files to N:SD///.FujiNetChat or such. Since we *have* to have a FujiNet anyway, might as well make better use of it. - Rewrite the incoming message parser! It needs to work more like @@ -32,8 +36,6 @@ Other stuff: polishing up. - More scrollback. Of course it needs more memory... see doc/scrollback.txt for my ideas on this. -- ^U works, but is slow (calls backspace() in a loop, which does a - memmove() each time). - Server /ping command is iffy (see do_server_pong() in irc.c). - "User has kicked <yourname> from #channel", the name should be replaced by "you". @@ -43,9 +45,6 @@ Other stuff: be nice, if we can afford the RAM. - Add an optional key parameter to /join (key). spec calls for it, I've never seen it used. -- 'Dead' screens (channels we've parted, or failed to join) should - show some kind of indicator, and not accept input. Although maybe - this isn't worth doing (you already get "cannot send to channel"). - *Possibly* save the config from within the client... though not all options can be changed (really only /nick and /beep). To make this useful would probably bloat the code too much. Some diff --git a/src/edbox.c b/src/edbox.c index cfaa2d6..dc1a8e2 100644 --- a/src/edbox.c +++ b/src/edbox.c @@ -163,7 +163,10 @@ static void forward_word(void) { } static void del_to_start(void) { - while(edbox_pos) backspace(); + if(!edbox_pos) return; + memmove(edit_box, edit_box + edbox_pos, EDBOX_SIZE - edbox_pos - 1); + edbox_len -= edbox_pos; + edbox_pos = 0; } void left(void) { |
