mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
/SCROLLBACK HOME/END/GOTO commands weren't working right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@396 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d0dcffab7b
commit
4faf4d1303
3 changed files with 61 additions and 50 deletions
|
|
@ -99,8 +99,12 @@ void gui_window_redraw(WINDOW_REC *window);
|
|||
void gui_window_resize(WINDOW_REC *window, int ychange, int xchange);
|
||||
void gui_window_reparent(WINDOW_REC *window, MAIN_WINDOW_REC *parent);
|
||||
|
||||
#define is_window_bottom(gui) \
|
||||
((gui)->ypos >= -1 && (gui)->ypos <= (gui)->parent->last_line-(gui)->parent->first_line)
|
||||
|
||||
void window_update_prompt(WINDOW_REC *window);
|
||||
void gui_window_newline(GUI_WINDOW_REC *gui, int visible);
|
||||
void gui_window_scroll(WINDOW_REC *window, int lines);
|
||||
void gui_window_update_ypos(GUI_WINDOW_REC *gui);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue