aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-27 12:29:48 +1000
committerDavid Walter Seikel2014-01-27 12:29:48 +1000
commit03fcd990926f8eacaa5d48f3786615aaedba156b (patch)
treecf286c8f4df3d84835550e4ddb8c80584eb29e82
parentFix bit rot, toybox changed a couple of things. (diff)
downloadboxes-03fcd990926f8eacaa5d48f3786615aaedba156b.zip
boxes-03fcd990926f8eacaa5d48f3786615aaedba156b.tar.gz
boxes-03fcd990926f8eacaa5d48f3786615aaedba156b.tar.bz2
boxes-03fcd990926f8eacaa5d48f3786615aaedba156b.tar.xz
Fix some typos in comments.
-rw-r--r--boxes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/boxes.c b/boxes.c
index 5bd5ed0..029868c 100644
--- a/boxes.c
+++ b/boxes.c
@@ -95,7 +95,7 @@ GLOBALS(
95 * and each view points to a content (file) for it's text. A content can 95 * and each view points to a content (file) for it's text. A content can
96 * have many views. Each content has a context (editor). There is only 96 * have many views. Each content has a context (editor). There is only
97 * ever one edit line, it's the line that is being edited at the moment. 97 * ever one edit line, it's the line that is being edited at the moment.
98 * Tthe edit line moves within and between boxes (including the command 98 * The edit line moves within and between boxes (including the command
99 * line) as needed. 99 * line) as needed.
100 * 100 *
101 * The justification for boxes is that most of the editors we are trying to 101 * The justification for boxes is that most of the editors we are trying to
@@ -422,7 +422,7 @@ Have a common menu up the top.
422 MC has a menu that changes per mode. 422 MC has a menu that changes per mode.
423 Nano has no menu. 423 Nano has no menu.
424Have a common display of certain keys down the bottom. 424Have a common display of certain keys down the bottom.
425 MC like is one row of F1 to F10, but changes for edit / view / file browse. But those are contexts here. 425 MC is one row of F1 to F10, but changes for edit / view / file browse. But those are contexts here.
426 Nano is 12 random Ctrl keys, possibly in two lines, that changes depending on the editor mode, like editing the prompt line for various reasons, help. 426 Nano is 12 random Ctrl keys, possibly in two lines, that changes depending on the editor mode, like editing the prompt line for various reasons, help.
427*/ 427*/
428struct context // Defines a context for content. Text viewer, editor, file browser for instance. 428struct context // Defines a context for content. Text viewer, editor, file browser for instance.
@@ -443,7 +443,7 @@ struct context // Defines a context for content. Text viewer, editor, file b
443 // Or not, since the commands might be different / more of them. 443 // Or not, since the commands might be different / more of them.
444}; 444};
445 445
446// TODO - might be better off just having having a general purpose "widget" which includes details of where it gets attached. 446// TODO - might be better off just having a general purpose "widget" which includes details of where it gets attached.
447// Status lines can have them to. 447// Status lines can have them to.
448struct border 448struct border
449{ 449{
@@ -2434,7 +2434,7 @@ void boxes_main(void)
2434 2434
2435 // TODO - Should do an isatty() here, though not sure about the usefullness of driving this from a script or redirected input, since it's supposed to be a UI for terminals. 2435 // TODO - Should do an isatty() here, though not sure about the usefullness of driving this from a script or redirected input, since it's supposed to be a UI for terminals.
2436 // It would STILL need the terminal size for output though. Perhaps just bitch and abort if it's not a tty? 2436 // It would STILL need the terminal size for output though. Perhaps just bitch and abort if it's not a tty?
2437 // On the other hand, sed don't need no stikin' UI. And things like more or less should be usable on the end of a pipe. 2437 // On the other hand, sed don't need no stinkin' UI. And things like more or less should be usable on the end of a pipe.
2438 2438
2439 // TODO - set up a handler for SIGWINCH to find out when the terminal has been resized. 2439 // TODO - set up a handler for SIGWINCH to find out when the terminal has been resized.
2440 terminal_size(&W, &H); 2440 terminal_size(&W, &H);