Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(UI): display mouse cursor position on examine #3902

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6751,7 +6751,10 @@ look_around_result game::look_around( bool show_window, tripoint &center,
pixel_minimap_text );
#endif // TILES

int first_line = 1;
// print current position
center_print( w_info, 1, c_white, string_format( _( "Cursor At: (%d,%d,%d)" ), lx, ly, lz ) );

int first_line = 2;
const int last_line = getmaxy( w_info ) - 3;
pre_print_all_tile_info( lp, w_info, first_line, last_line, cache );

Expand Down
Loading