Add whitespace todo

This commit is contained in:
Joscha 2023-05-14 14:55:45 +02:00
parent 34f33ff038
commit 09aed3181e

View file

@ -5,6 +5,10 @@ use crate::nick;
use super::{Command, Context}; use super::{Command, Context};
// TODO Don't ignore leading whitespace?
// I'm not entirely happy with how commands handle whitespace, and on euphoria,
// prefixing commands with whitespace is traditionally used to not trigger them.
/// Parse leading whitespace followed by an prefix-initiated command. /// Parse leading whitespace followed by an prefix-initiated command.
/// ///
/// Returns the command name and the remaining text with one leading whitespace /// Returns the command name and the remaining text with one leading whitespace