summaryrefslogtreecommitdiff
path: root/gnome-pty-helper
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2003-04-15 15:43:52 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2003-04-15 15:43:52 +0000
commit83d04891f50af2ac7a2c572abc4759bac3068434 (patch)
treee9870a02fdf27e8efcf414ab3b8e3116c28942f3 /gnome-pty-helper
parent05b79cf4de66af1658906580c04c41de43f815b6 (diff)
make row_data a structure containing an array instead of a simple array.
* src/vte.c: make row_data a structure containing an array instead of a simple array. Add a field to row data structures which tracks whether or not we soft-wrapped from this line to the next one. Make use of the field when copying text and selecting by "line". * src/reflect.c: put the label in a scrolled window to avoid mad loops when we resize it to accomodate more text, which shrinks the terminal, which removes text from the label, which resizes it to be smaller, which gives the terminal more space, which adds text to the viewable area, which requires a bigger label, and so on. * src/vte.c: move vte_terminal_get_text_range logic into vte_terminal_get_text_range_maybe_wrapped for internal use, vte_terminal_get_text likewise.
Diffstat (limited to 'gnome-pty-helper')
-rw-r--r--gnome-pty-helper/gnome-pty-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnome-pty-helper/gnome-pty-helper.c b/gnome-pty-helper/gnome-pty-helper.c
index 0724732..f389a5a 100644
--- a/gnome-pty-helper/gnome-pty-helper.c
+++ b/gnome-pty-helper/gnome-pty-helper.c
@@ -403,7 +403,7 @@ init_term_with_defaults(struct termios* term)
#endif
/* These two may overlap so set them first */
- /* That setup means, that read() will be blocked untill */
+ /* That setup means, that read() will be blocked until */
/* at least 1 symbol will be read. */
term->c_cc[VMIN] = 1;
term->c_cc[VTIME] = 0;