diff options
| author | Eli Zaretskii | 2012-06-02 17:57:51 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-06-02 17:57:51 +0300 |
| commit | b5e9cbb6fdce4b7e8c5cd6ad1addf6e4af35da67 (patch) | |
| tree | c6a1b2060e5d56677f6785c2241311527fa917fa /src/w32console.c | |
| parent | f51b6486fc8b0e3fa7fd08cbf83b27ef0d5efe1a (diff) | |
| download | emacs-b5e9cbb6fdce4b7e8c5cd6ad1addf6e4af35da67.tar.gz emacs-b5e9cbb6fdce4b7e8c5cd6ad1addf6e4af35da67.zip | |
Initial incomplete version of tty menus. tty_menu_activate not done yet.
Diffstat (limited to 'src/w32console.c')
| -rw-r--r-- | src/w32console.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/w32console.c b/src/w32console.c index 22f329e239d..1f90f872d49 100644 --- a/src/w32console.c +++ b/src/w32console.c | |||
| @@ -603,6 +603,21 @@ Wcm_clear (struct tty_display_info *tty) | |||
| 603 | } | 603 | } |
| 604 | 604 | ||
| 605 | 605 | ||
| 606 | /* Report the current cursor position. The following two functions | ||
| 607 | mirror cm.h macros and are used in term.c's tty menu code, so they | ||
| 608 | are not really "stubs". */ | ||
| 609 | int | ||
| 610 | curX (struct tty_display_info *tty) | ||
| 611 | { | ||
| 612 | return cursor_coords.X; | ||
| 613 | } | ||
| 614 | |||
| 615 | int | ||
| 616 | curY (struct tty_display_info *tty) | ||
| 617 | { | ||
| 618 | return cursor_coords.Y; | ||
| 619 | } | ||
| 620 | |||
| 606 | /*********************************************************************** | 621 | /*********************************************************************** |
| 607 | Faces | 622 | Faces |
| 608 | ***********************************************************************/ | 623 | ***********************************************************************/ |