Terminal window hell

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cutty
    Rookie
    • Jan 2010
    • 4

    Terminal window hell

    I don't know if this happens to anyone else, or in other versions, but in 3.1.1626 beta for OSX, the terminal windows open in a frustrating position.

    When I open Angband, the main window, as well as terminals 3 and 4, open with their top bars hidden underneath the Apple menu. It is impossible to grab the top bars of the windows and arrange them, so I have to use "arrange all in front" and redo the windows every time I play. Terminals 1 and 2 open in their correct position. Terminals 3 and 4, as well as the main screen window, are all stretched out for about 3/4 of the screen, while terminals 1 and 2 are smaller boxes, if that makes any difference.

    Also, it seems that you can only assign menus to terminal windows that are active. If you try to flag, say, your inventory for terminal 1, the flag won't stick if the window isn't open. Not a major issue, but it caused me 10 minutes of grief the first time it happened.
  • buzzkill
    Prophet
    • May 2008
    • 2939

    #2
    I don't know about OSX in particular, but you should be able to alter placement of the windows by editing angband.ini.
    www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
    My banding life on Buzzkill's ladder.

    Comment

    • konijn_
      Hellband maintainer
      • Jul 2007
      • 367

      #3
      Originally posted by cutty
      I don't know if this happens to anyone else, or in other versions, but in 3.1.1626 beta for OSX, the terminal windows open in a frustrating position.

      When I open Angband, the main window, as well as terminals 3 and 4, open with their top bars hidden underneath the Apple menu. It is impossible to grab the top bars of the windows and arrange them, so I have to use "arrange all in front" and redo the windows every time I play.
      I hate that as well, however once you place the windows well and save your character, it should be fine the next time. Odd..

      Just to prevent that from happening ( I dont know Mac well, so I didnt even know about "arrange all in front" ) , I've added this code in Hellband:

      Code:
      	/* Sanitize these values */
      	if( td->r.left < 50 )td->r.left = 50;
      	if( td->r.top < 50  )td->r.top  = 50;
      	/* Make sure these new values are taken into account */
      	MoveWindow(td->w, td->r.left, td->r.top, 1);
      	
      	/*
      	 * A certain release of OS X fails to display windows at proper
      	 * locations (_ _#)
      	 */
      It has helped me tremendously, '50' is of course an arbitrary constant.. I dont know whether it'd be useful in Vanilla.

      T.
      * Are you ready for something else ? Hellband 0.8.8 is out! *

      Comment

      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎