summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmdedit.c5
-rw-r--r--shell/cmdedit.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/cmdedit.c b/cmdedit.c
index 515685f..b94b8e3 100644
--- a/cmdedit.c
+++ b/cmdedit.c
@@ -93,6 +93,11 @@ struct history {
#define xwrite write
+/*
+ * TODO: Someday we want to implement 'horizontal scrolling' of the
+ * command-line when the user has typed more than the current width. This
+ * would allow the user to see a 'window' of what he has typed.
+ */
void
cmdedit_setwidth(int w)
{
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index 515685f..b94b8e3 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -93,6 +93,11 @@ struct history {
#define xwrite write
+/*
+ * TODO: Someday we want to implement 'horizontal scrolling' of the
+ * command-line when the user has typed more than the current width. This
+ * would allow the user to see a 'window' of what he has typed.
+ */
void
cmdedit_setwidth(int w)
{