View previous topic :: View next topic |
Author |
Message |
dawang10
Joined: 14 Feb 2015 Posts: 66
|
Posted: Thu Feb 09, 2017 10:08 am Post subject: showing map at the right side |
|
|
Is there any easy way to show map at the right side rather than on the top, since most screens are 16:9 or 4:3 |
|
Back to top |
|
 |
dawang10
Joined: 14 Feb 2015 Posts: 66
|
Posted: Sat Feb 11, 2017 8:57 am Post subject: |
|
|
alternatively, to split the window horizontally |
|
Back to top |
|
 |
PowerGod
Joined: 04 Aug 2014 Posts: 352
|
Posted: Mon Feb 13, 2017 7:52 am Post subject: |
|
|
#split works only with map on top
if you really want the map on the side you should look at other solutions, like using tmux to show 2 terminals side by side, one of them runs tt++ with a trigger to save map to file, and the second terminal just constantly read that file. |
|
Back to top |
|
 |
dawang10
Joined: 14 Feb 2015 Posts: 66
|
Posted: Mon Feb 13, 2017 1:24 pm Post subject: |
|
|
Yes, I checked the whole forum. 2 terminals is a way but only on tintin++
Many thanks. |
|
Back to top |
|
 |
Slysven
Joined: 10 Apr 2011 Posts: 375 Location: As "Jomin al'Bara" in WoTMUD or Wiltshire, UK
|
Posted: Sun Feb 19, 2017 12:26 pm Post subject: |
|
|
The way it is coded relies (I think) on being able to confine the scrolling area to only part of the range of lines that make up the screen - which is something that most terminal emulators (if they actually DO emulate a real terminal - some don't, they emulate other emulators...!) support. Splitting the screen into a protected and an unprotected area - and putting the map into the "protected" area that should not scroll - ought to be possible for a decent emulator but is less commonly available.
Now this does sound like a thing that could be done if we brought in use of the *nix ncurses library - which is basically the goto library to build GUI type system in a CLI system - and it is incidentally maintained by the same person who looks after the venerable xterm so they work well together... |
|
Back to top |
|
 |
|