summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-09-16 07:39:21 +0100
committerMaxime Coste <mawww@kakoune.org>2024-09-16 07:39:21 +0100
commit2e1e15106e4e16f8c4de43b87ec901f569a582cf (patch)
tree0daa79f1b30fa500f25e581b065fd24ca8287aaa /src/input_handler.cc
parent88fa43988acc2389d92ead46a41ff8c7f0608c1a (diff)
Rename Window::display_position to display_coord
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 6c6439bb..3ddbfdfb 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -50,7 +50,7 @@ public:
virtual std::pair<CursorMode, DisplayCoord> get_cursor_info() const
{
const auto cursor = context().selections().main().cursor();
- auto coord = context().window().display_position(cursor).value_or(DisplayCoord{});
+ auto coord = context().window().display_coord(cursor).value_or(DisplayCoord{});
return {CursorMode::Buffer, coord};
}