continued insertion testing, not sure i like this method

This commit is contained in:
josh committed 2016-10-08 16:59:11 -04:00
1 parent 08dd616bef
commit 4d5e3dc0ea
3 files changed
+37

No files matched your search

+7
View File
@@ -277,6 +277,13 @@ void Window::handle_key(uint32_t scancode, uint32_t mod)
case SDL_SCANCODE_I:
m_buffer->piece_table->begin_insert(*m_cursor, true);
break;
case SDL_SCANCODE_O:
m_buffer->piece_table->insert_code_point('*');
redraw();
break;
case SDL_SCANCODE_A:
m_buffer->piece_table->begin_insert(*m_cursor, false);
break;
}
}