mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
Added support for using terminfo/termcap instead of curses. By default,
configure chooses to use ncurses if found, of terminfo if only curses was found. --with-terminfo parameter can be used to specify if you want it or not. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8567481fd0
commit
2ba339a26b
30 changed files with 2662 additions and 268 deletions
|
|
@ -277,8 +277,8 @@ static void item_input(SBAR_ITEM_REC *item, int get_size_only)
|
|||
GUI_ENTRY_REC *rec;
|
||||
|
||||
if (get_size_only) {
|
||||
item->min_size = 2+screen_width/10;
|
||||
item->max_size = screen_width;
|
||||
item->min_size = 2+term_width/10;
|
||||
item->max_size = term_width;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue